Because Apple does not currently support this function, you can only make an excessive effect after the app is started:
[CPP]-(bool) Application :( uiapplication *) Application didfinishlaunchingwitexceptions :( nsdictionary *) launchoptions {self. window = [[[uiwindow alloc] initwithframe: [[uiscreen mainscreen] bounds] autorelease]; // override point for customization after application launch. self. viewcontroller = [[[viewcontroller alloc] initwithnibname: @ "viewcontroller" Bundle: Nil] autorelease]; self. window. rootviewcontroller = self. viewcontroller; [self. window makekeyandvisible]; uiimageview * splashscreen = [[[uiimageview alloc] initwithframe: Self. window. bounds] autorelscreen]; splashscreen. image = [uiimage imagenamed: @ "default"]; [self. window addsubview: splashscreen]; www.2cto.com [uiview animatewithduration: 1.0 animations: ^ {catransform3d transform = catransform3dmakescale (1.5, 1.5, 1.0); splashscreen. layer. transform = transform; splashscreen. alpha = 0.0;} completion: ^ (bool finished) {[splashscreen removefromsuperview];}]; return yes ;}
In fact, I think this function is best used when switching between two interfaces, and the black screen effect is used if view is used. backgroundcolor = [uicolor blackcolr]; in this way, you do not need an image to perform this switching, which is faster and takes less space.