Adding Keyboard Shortcuts To UIAlertView
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser