IOS codes
Wednesday, August 15, 2012
Clear the UIView
clears the view
Option 1:
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextClearRect(context, self.view.bounds);
Option 2
for (UIView *view in [self.view subviews]) {
[view removeFromSuperview];
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment