iphone - dismissViewControllerAnimated is called but ViewController is not dismissed -
iphone - dismissViewControllerAnimated is called but ViewController is not dismissed -
i having problems dismissviewcontrolleranimated
method not closing downwards view.
what happening in app here is:
cell initemviewcontroller
selected. view pushed itemdetailviewcontroller
and details sent through delegate user selects 'done' , event sent via delegate closed in itemviewcontroller
all of works except view not dismissed, there no errors. can see wrong?
- (void)itemdetailviewcontrollerdidfinish:(itemdetailviewcontroller *)controller { nslog(@"controller: %@", controller); // returns - controller: <itemdetailviewcontroller: 0x6b68b60> [self dismissviewcontrolleranimated:yes completion:nil]; }
what if phone call [controller.navigationcontroller popviewcontrolleranimated:yes]
instead?
for matter, if phone call [controller dismissviewcontrolleranimated:yes completion:nil]
instead of calling on self?
iphone objective-c ios ios4 ios5
Comments
Post a Comment