Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tableview Insets Odd Behavior #60

Closed
emaddoma opened this issue Apr 20, 2017 · 4 comments
Closed

Tableview Insets Odd Behavior #60

emaddoma opened this issue Apr 20, 2017 · 4 comments

Comments

@emaddoma
Copy link

I have the strangest issue I can't seem to figure out. My tableview insets are set so the cells do not appear under my tab bar, but the top initially appears about twice as low as I have it set - until I touch the view. After touching, it scrolls into position and is fine from that point forward. Any advice?

self.tableView.contentInset = UIEdgeInsetsMake(120, 0, -120, 0)

simulator screen shot apr 20 2017 3 57 07 pm

simulator screen shot apr 20 2017 3 57 14 pm

@msaps
Copy link
Member

msaps commented Apr 23, 2017

@emaddoma would you be able to provide a demo project of this happening? I have a feeling that this has something to do with contentOffset on the table view.

@GabrielAraujo
Copy link

I'm also having a similar problem.

I think if you use a tableview it will happen.

I am also trying to set the background color to the desired one but the framework does not allow me to do that as shown in the image bellow, the bottom side of the view is keeping white but the view is actually gray.

simulator screen shot 25 apr 2017 21 30 35

@msaps
Copy link
Member

msaps commented Apr 26, 2017

@GabrielAraujo @emaddoma I've just released 0.5.0 Beta 1 which features the auto-insetting behaviour. I'd be really grateful if you could try this out and see if it helps with your insetting issues.

Simply update your Podfile entry to pod 'Tabman', '0.5.0.beta.1' and run pod install. You might also need to update your specs repo (pod repo update).

@GabrielAraujo regarding your background colour issue, are you sure this isn't something to do with your view hierarchy? I don't think Tabman does too much with backgroundColor's but more than happy to investigate.

@msaps
Copy link
Member

msaps commented Apr 26, 2017

Any insetting discussion should be moved to #43 if possible please 👍

@msaps msaps closed this as completed Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants