开发者

How to release my view from stack?

开发者 https://www.devze.com 2022-12-31 13:26 出处:网络
In my application I m using following coding convention to open my default screen :-- AppDelegate *ptrDefaultScreen = (AppDelegate *)[[UIApplication sharedApplication]delegate];

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消