Reputation: 3964
I am new to iOS development. I could see Apple's guide about Modality. However, I don't know how to implement a custom modal dialog that looks similar to how Gmail app's:
How should I get started? Are there sample codes anywhere for self-learners to follow along?
Thanks a lot
Upvotes: 0
Views: 735
Reputation: 7400
You should investigate UIViewControllerTransitioningDelegate
examples.
This will allow you to define a custom transition that you could reuse across a number of different view controllers. It also allows you to decouple transition logic from where the modal is being presented or what is being presented.
Upvotes: 1