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 in itemviewcontroller selected. view pushed itemdetailviewcontrollerand 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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -