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
Post a Comment