iOS 5 : -viewWillAppear is not called after dismissing the modal in iPad

后端 未结 3 2133
借酒劲吻你
借酒劲吻你 2020-12-15 04:28

I am presenting modal using the following code :

AddName *add = [[AddName alloc] initWithNibName:@\"AddName\" bundle:nil]
add.modalPresentationStyle = UIMod         


        
3条回答
  •  一生所求
    2020-12-15 04:44

    I had the same problem. I found that viewWillAppear isn't get called after dismissing modal but viewDidAppear is. So just try viewDidAppear instead.

提交回复
热议问题