Hello,
I have created a splitview based application and in the appDelegate applicationdidFinishLaunchingWithOptions method i am showing a popup
ModalScreenPopup has 2 buttons name Synchronize and continue with app and when i click on the synchronize button i am calling OpenTradeShowListingPopup method which is also declared in the appDelegate file. That method calls another popup but now the result i am getting is first modal is getting dismissed but second popup is not getting calleed
what should i do any help will be appreciated.
if any want to have a look at my issue here i have created a sample app with the same issue is replicated
If some 1 want to see the issue i have created a sample application with the replicated the same issue here is the link : http://www.filefactory.com/file/ca4001f/n/2_Modal.zip
I have created a splitview based application and in the appDelegate applicationdidFinishLaunchingWithOptions method i am showing a popup
Code:
-(BOOL)application:(UIApplication *)applicationdidFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[self.window addSubview:splitViewController.view];
[self.window makeKeyAndVisible];
ModalScreenPopup *modalpopup = [[ModalScreenPopup alloc] init];
[modalpopup setModalTransitionStyle:UIModalTransitionStyleCoverVertical];
[modalpopup setModalPresentationStyle:UIModalPresentationFullScreen];
[splitViewController presentModalViewController:modalpopup animated:NO];
[modalpopup release];
return YES;
}
-(void) OpenTradeShowListingPopup
{
[splitViewController dismissModalViewControllerAnimated:YES];
TradeShowListing *modalTradeShowListing = [[TradeShowListing alloc] init];
[modalTradeShowListing setModalTransitionStyle:UIModalTransitionStyleCoverVertical];
[modalTradeShowListing setModalPresentationStyle:UIModalPresentationFullScreen];
[splitViewController presentModalViewController:modalTradeShowListing animated:YES];
[modalTradeShowListing release];
}
ModalScreenPopup has 2 buttons name Synchronize and continue with app and when i click on the synchronize button i am calling OpenTradeShowListingPopup method which is also declared in the appDelegate file. That method calls another popup but now the result i am getting is first modal is getting dismissed but second popup is not getting calleed
what should i do any help will be appreciated.
if any want to have a look at my issue here i have created a sample app with the same issue is replicated
If some 1 want to see the issue i have created a sample application with the replicated the same issue here is the link : http://www.filefactory.com/file/ca4001f/n/2_Modal.zip