-2

I want to have a similar pop up menu when the user presses the button

enter image description here

How do I implement it?


The only similar post I've come across is this one, but alas, it is not written in Swift

Ilya Stokolos
  • 338
  • 1
  • 12

1 Answers1

2

That is called a UIAlertController, using .actionSheet style. See

https://developer.apple.com/documentation/uikit/uialertcontroller

for more info.

matt
  • 485,702
  • 82
  • 818
  • 1,064