Skip to content

Conversation

@siburb
Copy link

@siburb siburb commented Apr 6, 2014

Use "setIcon" to set the UIImage.
img_0642

@vicc
Copy link

vicc commented Jul 17, 2014

This is awesome. Is it resizable?

@siburb
Copy link
Author

siburb commented Jul 17, 2014

The way that I've implemented it, it is not really resizable - the UIImageView is sized according to the height of the UIImage that you provide with the width coming being the same as the width of the other components of the alert e.g. title etc.

The content mode is set to Aspect Fit, so that the image should always look "right". It therefore should work nicely for any smallish image (e.g. 250x250), but might behave strangely for big images.

Simon Burbidge and others added 3 commits May 11, 2015 10:59
* commit '4aa3683c10877132beb71270e5111d522f893f27':
  Add ability to change background color of buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants