2011-11-09 32 views

回答

3

試試這個:

MyAppDelegate* myAppDelegate = (MyAppDelegate*)[[UIApplication sharedApplication] delegate]; 
myAppDelegate.myBool = true; 
3

(MyAppDelegate *)[[UIApplication sharedApplication] delegate].myBool = YES;

相關問題