ios - SWRevealController TableView scrolls through status bar -


i'm using swrevealcontroller library menu on left side. uses tableview show menu items, works fine except scrolling. when scroll down tableview scrolls through status bar.

i have tried adding following line of code in viewdidload , viewwillappear, doesn't change anything.

self.tableview.contentinset = uiedgeinsetsmake(20.0, 0.0, 0.0, 0.0) 

to give idea, what's happening: http://i.stack.imgur.com/jhn42.jpg

i solved creating new view controller container view inside it. i've hooked container original table view controller menu , switched segue view controller container. works fine now, can resize container , menu adapt automatically.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -