AlertviewController Exception for action sheet
If you are used the action sheet for the alert view controller then it will display an exception.The Fail case is below.
let alert = UIAlertController(title: AppTitle, message: "message", preferredStyle: .actionsheet)
But if you use alert type then it will not display the exception.The working case below.
let alert = UIAlertController(title: AppTitle, message: "message", preferredStyle: .alert)
Comments
Post a Comment