Closed DJM0 closed 8 years ago
It seems strange.. Did you called the initializer before show alertView ? You can see the ViewController.swift file for a complete example to how to use the alertView.
And don't forget to show the alertview after the UIViewController is created ;) (For example in viewDidAppear)
Following the usage I can't get this to work. Calling it from my viewDidLoad() in iOS 9.0 installed using cocoapods.
After calling
alertView.show()
,print(alertView)
shows:Am I doing anything wrong or do I need to do something else?