Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "iconImageView" for an optional icon centred above the title #66

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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.

None yet

4 participants