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

Rounded Images #193

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

Rounded Images #193

wants to merge 10 commits into from

Conversation

migue1s
Copy link

@migue1s migue1s commented Feb 12, 2016

I've added the kCRToastImageVerticalPaddingKey and kCRToastImageRoundedKey keys.

kCRToastImageVerticalPaddingKey adds a vertical padding to the imageview.
kCRToastImageRoundedKey forces the image to be round.

These two keys allow creating notifications which have round icons even if the images themselves are squared (especially when used with the kCRToastImageContentModeKey key).

screen shot 2016-02-12 at 9 43 04 am

@lenkaiser
Copy link

Please merge this with the master branch.

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.

3 participants