I think probably not - you still need to allocate memory for the presentation, just don’t display it.
You will probably get a very small increase in performance, since UIKit knows more about what / what not to draw.
! , 1000 1000x1000 . . clipToBounds, YES, , !
, , - , , !
,
mystify , :
1) XCode - Window
2) :
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[window setClipsToBounds:YES];
[window makeKeyAndVisible];
for (int n = 0; n < 100000; ++n) {
UIImageView *view = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"image.jpg"]];
[view setFrame:CGRectMake(0, 0, 1000, 1000)];
[window addSubview:view];
[view release];
}
return YES;
}
3)
4) - .
, - 16 clipsToBounds, YES NO .
-
a) UIImageView, , , - - UIView.
b) ( iPhone , ) - 99% , - , , isn 't 100% , , , .