crashing on ios device while navigation using UIModalTransitionStylePartialCurl in xcode 4

前端 未结 2 607
隐瞒了意图╮
隐瞒了意图╮ 2021-01-22 12:18

i am using UIModalTransitionStylePartialCurl on the ios 4 device,in my test app i have 2 classes where a single button in each class, in first page onclick of the button it ill

相关标签:
2条回答
  • 2021-01-22 13:05

    You may well have added the Action twice in Interface Builder. Go to the ViewController and to the Triggered Segues on the right and "x" do delete the extra one. LOL

    0 讨论(0)
  • 2021-01-22 13:10

    If you read the documentation for UIModalTransitionStylePartialCurl, you will see that once you've used it you can't present any more modal views.

    If you want to navigate back, I think you should do,

     [self dismissModalViewControllerAnimated:YES];
    

    rather than creating a new view controller instance.

    0 讨论(0)
提交回复
热议问题