This is the example code for how to create UIAlertController in iOS 8