Use alert views and action sheets to handle events gracefully with blocks.