1
我提出在ccscene的adressBook有:從CCScene提交/刪除UIViewController?
picker = [[ABPeoplePickerNavigationController alloc] init];
picker.peoplePickerDelegate = self;
[[CCDirector sharedDirector]presentModalViewController:picker animated:YES];
它的作品好。
,當我想回到以前的場景,並關閉它,我做的:
[[CCDirector sharedDirector] dismissModalViewControllerAnimated:NO];
[[CCDirector sharedDirector] replaceScene:[CCTransitionFade transitionWithDuration:0.1f scene:[Home scene]]];
它做的消失,和我看到我的場景爲0.3秒,比消失,我有一個黑屏(有一些消息:不能刪除孩子的標籤,我不會刪除任何孩子在下一個場景,只是加載背景)
那麼,我將如何解僱它,並安全返回到下一個場景?
非常感謝。