Friday, 24 June 2016

Custom Segue for UIViewAnimation in iOS - Objective C

1) Create a single view application
2) Select Main.StoryBoard
3) Design the interface by following



4) Click on "Go Next Button" -->Control drag towards Detail View -->Select Seque Name "Custom"

5) Create a new class named as "mysegue" which is going to be subclass of UIStoryBoardSegue
6) Go to StoryBoard select segue -->Open inspector select the class name "my segue"

7) Go to my segue class and implement a method called perform, for implementing custom animation with UIViewanimation

8) Reuse my segue class in application any where

No comments:

Post a Comment