Featured post
ios - UITableViewController won't scroll on custom implementation -
there numerous posts out there stating 1 should avoid use of uitableviewcontroller. more , more want give in, i'm using coredatatableviewcontroller super class that's tied entire application, , don't have time rewrite all.
of course, uitableviewcontroller's view shouldn't take entire screen (ipad project), put subview on regular uiview instance frame set pretty size. that's when weird things start happen.
i copied custom class (groupstableviewcontroller->coredatatableviewcontroller->uitableviewcontroller) test-project working fine, current project. alloc/init , addsubview view.
at first table show empty. gives? viewwillappear: message not sent. the...? alright, call manually (at point, i'm starting doubt myself). next, table filled content, interactivity gone. no taps, no scrolling.
i tried setting userinteractionenabled on everything, no result. n00b thing, i'm sure, silly stuck on. yet here am, stuck.
can point me right direction? did forget delegate somewhere? or maybe unsent message?
one issue running nested uiviewcontrollers not receive proper events such viewwillappear:. according apple's guidelines uiviewcontroller should fill entire screen , not represent partial view (of course exceptions of uitabbarcontroller, uinavigationcontroller, , uisplitviewcontroller). try setting groupstableviewcontroller main controller (if in uinavigationcontroller try pushing it, if split view make details view, etc). if works there events not getting through causing problems. hope helps!
- Get link
- X
- Other Apps
Comments
Post a Comment