Radrider33
Radrider33

Reputation: 557

How to create a small popup in iOS?

I'm looking for the simplest code in order to implement a small popup (NOT a full screen modal popup or alert view). I just need it to display some basic text inside the popup, then exit it when I click away. The popup in the EleMints app is a good example.

like this

Upvotes: 5

Views: 2056

Answers (3)

Nimit Parekh
Nimit Parekh

Reputation: 16864

You can also use the following refrence link for UIPopOver controller

1) WEPopOver Library 2) Popup Bubbles

Upvotes: 3

Ilanchezhian
Ilanchezhian

Reputation: 17478

You can use WEPopOver as that is the one you required. For more info, visit this link

Upvotes: 4

Jerry
Jerry

Reputation: 4480

UIPopoverController does this, but it's limited to iPad only. If you need this on iPhone, just implement a custom UIView subclass. Then when you want to show your popover, instantiate the subclass and add it to your view, maybe with some animation.

Upvotes: 6

Related Questions