Peter Steinberger 3/6/2013

Adding Keyboard Shortcuts To UIAlertView

Read Original

This article details a hack to add keyboard support (Esc and Enter keys) to UIAlertView and UIActionSheet in iOS, primarily for faster debugging in the Simulator. It explains the use of private APIs, method swizzling, and provides code snippets for intercepting keyboard events, with strong warnings against shipping this in production builds.

Adding Keyboard Shortcuts To UIAlertView

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser