modal-view

present and dismiss modal view controller

Can anyone give me the example code that I can use to first present a modal view controller, then dismiss it? This is what I have been trying: NSLog(@"%@", blue.modalViewController); [blue presentModalViewController:red animated:YES]; NSLog(@"%@", blue.modalViewController); [blue dismissModalViewControllerAnimated:YES]; ...

How to present a UIScrollView Modaly

I want to present a modal view with a UIscrollView as the content of the view. How would I do this? ...

iPhone - Dismiss modal view by a UITabBarController

Hi everyone, I've got into a very strange problem. I created my own UITabBarController to customize it and it works pretty well... except for the modal views. When I dismiss the modal view (present/dismiss from the UITabBarController) with an animation, it waits until the animation did finished and goes to the first controller of the ta...

iPhone - Detect the end of the animation

Hi everyone, How can I detect the end of the animation of a modal view (when I do a dismiss)? (I'm talking about MFMailComposeViewController which is not created by myself...) Thanks ...

wait after presentModalViewController

I need to wait (don't execute the code) after the presentModalViewController until the modal view it's dismissed, it's possible or it's a conceptual error ? -(NSDictionary *)authRequired { //This view write the settings when dismissed (plist) [self presentModalViewController:loginRegView animated:YES]; //Read from the setti...

Jquery scrollLeft calling problem in modal view

I have modal and I want to insert in modal view some scrollable text .BUt scrollLeft not work in modal view but works if I put it on main page, not in modal view. <div id="userList"> <div class="user"> <a href="#?w=500" rel="popup1" class="poplight">Open Modal View</a> </div> </div> <script> $(document).ready(function...