0

Right now I got the Alert inside the ViewDidAppear,but because of this, the Alert shows up any time I reload the ViewController. I would rather like to implement the Alert this way, that the user only gets it the first time he enters he App.

SwiftTralla
  • 1
  • 1
  • 4
  • Is the view controller displayed more than once or is it that you push/pop or present/dismiss other controllers which is why `viewDidAppear` is called more than once? – rmaddy Jun 20 '18 at 05:02
  • put it in viewDidLoad. it'll work as per your requirement. – Keyur Tailor Jun 20 '18 at 05:03

0 Answers0