-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

iwbtrs
  • 358
  • 4
  • 13

1 Answers1

2

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

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

for more info.

matt
  • 515,959
  • 87
  • 875
  • 1,141