Reputation: 1227
When a UIView
is created using storyboard
there are three methods available I would like to know more about: custom
, push
, and modal
. Can someone please explain the purpose and usage of each? Thanks in advance.
Upvotes: 0
Views: 345
Reputation: 7102
when you will use style type mode the new screen completely obscures the previous one. The user cannot interact with the underlying screen until they close the modal screen first.
When you use push screen is presented on the navigation stack you can always press the back button to return to the previous screen.
In custom you can define your own segue class, where you can define your own way for transition between the screen
I have linked tutorial also in this answer. check it for more details
Upvotes: 1