1. The following code is written in the
-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (nsdictionary *) launchOptions
2. The introduction of the annex in the class, remember to change the class of pictures ah what (http://files.cnblogs.com/files/godlovexq/UDP.zip)
if (![ [Nsuserdefaults Standarduserdefaults] boolforkey:@ "Dongqiangfei"])
{
Is the first time to start
[[Nsuserdefaults Standarduserdefaults] setbool:yes forkey:@ "Dongqiangfei"];
Guideviewcontroller *guide = [[[[Guideviewcontroller alloc] init] autorelease];
Self.window.rootViewController = guide;//Make the view of the animation as the master
[Guide.button addtarget:self Action: @selector (Setupappdelegate) forcontrolevents:uicontroleventtouchupinside];
}else{
Not the first time.
[Self setupappdelegate];
}
iOS Development Launch page guide diagram