Believe2014
Believe2014

Reputation: 3964

How to create a custom pop-up modal dialog on iOS?

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: Gmail custom modal dialog

How should I get started? Are there sample codes anywhere for self-learners to follow along?

Thanks a lot

Upvotes: 0

Views: 735

Answers (1)

AdamPro13
AdamPro13

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

Related Questions