nested push animation can result in corrupted navigation bar multiple warning

前端 未结 2 657
一整个雨季
一整个雨季 2021-01-15 09:02

I\'m new in ios app developping and i\'m having some trouble with multiple warnings.

I have a Navigation Controller that load a table view. From that table view one

2条回答
  •  孤街浪徒
    2021-01-15 09:21

    My guess would be your button is linked with the segue, so when you add an IBAction on it, you trigger the segue twice.

    If you go to your Storyboard and click on the segue, you should be able to see its origin and destination. Is its origin the entire view controller or just the button? You only need to manually performSegue if the origin is the entire view controller. Can you try comment out your [self performSegueWithIdentifier:@"toMoreDetail" sender:self]; stuff to see if it will work?

提交回复
热议问题