Your application has presented a UIAlertController of style UIAlertControllerStyleActionSheet

This happens when you try to present a action sheet in iPad. Luckily you can make your action sheet work across iPhone and iPad without writing different code for specific platform.Using popoverPresentationController?.sourceView an example code is given below This will remove the crash and you will achieve desired behaviour in both iPhone and iPad