Created
December 24, 2011 13:53
-
-
Save pita5/1517375 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (self.superview) | |
{ | |
[self.superview.layer drawInContext:ctx]; | |
for (UIView *view in [self.superview subviews]) | |
{ | |
if (![view isEqual:self]) | |
{ | |
[view.layer drawInContext:ctx]; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment