Block based api to create and handle UIAlertView and UIActionSheet