Skip to content

Rounded Images#193

Open
migue1s wants to merge 10 commits intocruffenach:masterfrom
migue1s:master
Open

Rounded Images#193
migue1s wants to merge 10 commits intocruffenach:masterfrom
migue1s:master

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