I am trying to present an alertview for users on their first launch of the app to give them instruction on how to use it. I am using the pod 'SCAlertView'. When I place the code in the viewDidLoad() or ViewWillAppear() section the code is not executed, however when I test after permissions the code is executed. Here is the following code
override func viewDidLoad() {
super.viewDidLoad()
if defaults.bool(forKey: "launchedBefore") == false{
let alert = SCLAlertView()
alert.showInfo("Welcome to \(appName)", subTitle: "Swipe up on the bottom green button to find all your tools to navigate the app!")
}
does anyone have suggestions on how I can get this code to execute after permissions for camera & microphone?