ios - How to create a non animating unwind custom segue -
I have a custom transition between controller A to B, this is defined as
@implementation Mycustomsegue - (Zero) Display [[[Self Source Viewer] Current ViewController: [Self-Destination ViewController] Animated: No Completion: ^ {}}; } @ And
Now, when opening B to A, it looks like the modal dismissal of Controller B. How can I remove this? I do not want any animation or I want to control it.
Create a simple action method and connect it to the storyboard.
Try below the code
- (IBAction) Action: Disisus: (ID sender {{self dismissViewControllerAnimated: not completed: Zero] ; }
You select Seguay and Goto Specialty Inspector
and in this situation you set the name of the custom class " Mycustomsegue "
Comments
Post a Comment