objective c - Weird Behavior on dismissing Modal View Controller -


first post, have been lurking while reading. have app needs access contacts on device , works ok, when dismiss control, goes away lose other elements on app.

i have view controller contains 1 main view, has navigation bar header , tab bar footer. have overlay view contains button trigger address book component. when dismiss happens, tab bar , nav bar disappear component!

this code using show address book:

code: abpeoplepickernavigationcontroller *picker = [[abpeoplepickernavigationcontroller alloc] init]; picker.peoplepickerdelegate = self; [self presentmodalviewcontroller:picker animated:yes]; , dismissed this:

code: [self dismissmodalviewcontrolleranimated:yes]; pretty simple stuff. cause dismiss command more remove modal controller?

thanks

try presenting modal controller tabbarcontroller [self.tabbarcontroller presentmodal...];


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -