Ralf de Kleine
Ralf de Kleine

Reputation: 11734

How to show a popup(see image) in iOS

Just starting out with iOS developing in Swift so I'm not certain how to call this thing.

What I'm trying to accomplish is a choice like the image below.

What is it called and where do I start?

Choice popup or so?

Upvotes: 0

Views: 1174

Answers (1)

HorseT
HorseT

Reputation: 6592

UIActionSheet is what you are searching for.

Be careful because it's deprecated since iOS 8 but the reference links to the replacement as well.

in iOS 8 and later, instead use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet.

Upvotes: 2

Related Questions