Skip to content

Conversation

@sagendaz
Copy link
Contributor

The circular radius allows custom icons to be masked accordingly to its circular container view (and does not interfere or modify with the default icons that are drawn). Two lines added after line 673 in SCLAlertView.swift.
The user would have to set kCircleIconHeight in the SCLAppearance setup, as expected to implement a custom icon for the circleIconView. Setting kCircleIconHeight: CGFloat(56.0) matches the default kCircleHeight and covers the drawn circle. A smaller circle height will allow the drawn circle to show through as a coloured ring, if such an effect is desired.

…nView frame is set so that custom icons will be masked accordingly to its circular container view
@vikmeup vikmeup merged commit a154cba into vikmeup:master Aug 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants