FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

# AlertViewController Adds ability to display `UIImage` above the title label of `UIAlertController`. Functionality is achieved by adding ā€œ\nā€ characters to `title`, to make space for `UIImageView` to be added to `UIAlertController.view`. Set `title` as normal but when retrieving value use `originalTitle` property. # UIAlertAction+Extensions Adds ability to display image left of the action title, by leveraging KVC. Also checks whether `UIAlertAction` responds to appropriate selector to avoid crashes if property is not available in the future. ![](https://github.com/stringcode86/AlertViewController/raw/master/screenshot.png) [stringcode.co.uk](http://www.stringcode.co.uk/?p=1156&preview=true) [@stringcode](https://twitter.com/stringcode)

Back | FazBrowse Home | New Git URL