In my application I m using following coding convention to open my default screen :--
AppDelegate *ptrDefaultScreen = (AppDelegate *)[[UIApplication sharedApplication]delegate];
[self.navigationController presentModalViewController:ptrDefaultScreen.FrmFlashScreenLink animated:YES];
but when I move to other screen after default screen ,my default screen is still exists even i used [self dismissModelViewController:YES]; to dimiss default screen from view.
where I m wrong I want my default screen will be completely removed fr开发者_运维技巧om view.
Is any other way to call default screen before actual application. Please help me out.Thanks in advance
The approach I use here is to make my default screen a subview of my main view. When I am done with it I either hide it, or removeFromSuperview it depending on memory constraints.
You have to just dragging image into bundle and don't forget name of image must have be Default.png. This image the iphone and ipad will automatically understood, the default image is an flash screen.
精彩评论