modalviewcontroller Questions

5

Solved

This is my view (controller) hierarchy: UITabBarController (as the rootViewController of the app) UINavigationController (as the viewController for one of the tabBar tabs) UIViewController (as th...
Macruran asked 29/10, 2014 at 22:48

8

Solved

iOS 13 introduces a new design of modalPresentationStyle .pageSheet (and its sibling .formSheet) for modally presented view controllers… …and we can dismiss these sheets by sliding the presented...
Flasket asked 5/6, 2019 at 11:11

28

Solved

In iOS 13 there is a new behaviour for modal view controller when being presented. Now it's not fullscreen by default and when I try to slide down, the app just dismiss the View Controller automat...
Microsporangium asked 3/6, 2019 at 23:1

1

Solved

I am trying to make a "FullScreenModalView" where you can send any view with a fixed height and width and it will show with a modal presentation. It is working perfectly but I can't make ...
Spoilsman asked 9/4, 2023 at 14:57

2

Solved

How would I go about presenting a "half view" controller over the top of main view controller? Requirements: - Present a second view controller that slides over the top of main view controller. - ...
Hustings asked 5/4, 2014 at 0:34

5

Solved

I need a modal page with no full size (80% width, <60% height, centered) to select some items, like an alert control. How to implement the CSS for this case?
Armadillo asked 9/3, 2018 at 2:23

7

Solved

On appDidFinishLaunchingWithOptions, I tint my entire app red with the following code. self.window.tintColor = [UIColor otfRedColor]; This works perfectly, and when my app loads, all the navigat...
Exobiology asked 22/11, 2013 at 0:28

14

Solved

I am presenting a modal view controller as a form sheet and dismissing it when the cancel button, which is a bar button item, is clicked. I need to dismiss it when I tap on outside of that view. Pl...
Landscapist asked 1/2, 2012 at 20:7

10

I have a tab bar based app. There are navigation controllers in all 5 tabs with instances of custom view controller setup properly as root view controllers. This loads just fine. A couple of these ...
Abcoulomb asked 20/10, 2014 at 15:25

2

There's a behavior in the Line messenger app (the de facto messenger app in Japan) that I'm trying to emulate. Basically, they have a modal view controller with a scroll view inside. When the scro...
Fairweather asked 25/3, 2017 at 8:49

12

FinalViewWithSending *newView = [[FinalViewWithSending alloc]initWithNibName:@"FinalViewWithSending" bundle:nil]; newView.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; [self presentM...
Delisadelisle asked 30/3, 2012 at 21:59

3

Solved

I'd like to detect a modal dismissal in the view controller that's presenting the modal. This method works amazing for detecting the new iOS 13 swipe dismissal on the new card modals: override f...
Glittery asked 15/9, 2019 at 7:3

13

Solved

I have created an UIViewController sub class which can either be pushed in a navigation stack of a UINavigationController or presented(modally) from any UIViewController. I need to identify whether...

8

Issue: Modally presented view controller does not move back up after in-call status bar disappears, leaving 20px empty/transparent space at the top. Normal : No Issues In-Call : No Issues Afte...
Burrill asked 24/4, 2017 at 18:43

7

I am presenting a modal view using a storyboard segue set as Form Sheet. The problem is, when I rotate the iPad after this view is displayed, the view is removed from the view/dismissed. I have no...
Dreadnought asked 5/1, 2014 at 16:15

24

Solved

I'm trying to present a view controller modally, with a transparent background. My goal is to let both the presenting and presented view controllers's view to be displayed at the same time. The pro...

2

Solved

Once, the user taps a button, I want my modalViewController to appear as a small square in the middle of the screen (where you can still see the original view controller in the background). Almost...
Gangboard asked 17/2, 2019 at 21:31

3

Solved

I need to push a view controller to another view controller. menuVC -> VC1 ->VC2 going from menuVC to VC1 requires no animation, but going from VC1 to VC2 and from VC2 to VC1 requires the...
Gripsack asked 10/2, 2013 at 11:48

2

Solved

I am trying to achieve a navigation similar to the Netflix app for iOS. When you click on a movie, a modal window pops up with a close button. If within this movie I choose to see another movie the...
Robichaud asked 15/11, 2018 at 13:21

5

I am using UIViewControllerAnimatedTransitioning and UIPercentDrivenInteractiveTransition to interactively dismiss a modally presented view controller. Nothing too fancy. But I noticed there is occ...
Anabelanabella asked 7/2, 2018 at 14:42

1

Solved

I have used view controller as a modal. I want to specify its height from bottom to top. That means it opens from bottom to its height. I have used bellow code for opening modal: let popUpVc = UIS...
Preceptory asked 6/9, 2018 at 6:14

8

I want to present a view controller with a slightly transparent background modally over the current view, such that the first view is slightly visible under the modal view. I set the alpha value o...
Saintebeuve asked 19/9, 2013 at 18:13

9

I'd like to present modally, at first startup, a tutorial wizard to the user. Is there a way to present a modal UIViewController on application startup, without seeing, at least for a millisecond,...
Officious asked 14/10, 2014 at 8:16

5

The Problem I've noticed some strange behavior when presenting a UINavigationController (with a root view controller, already pushed, naturally) with UIViewControllerAnimatedTransitioning during a...
Bracteate asked 26/2, 2014 at 20:37

2

Solved

In iOS 8+ I noticed that if you have an textfield that is currently the firstResponder in a view controller that was presented, when the view controller is dismissed, the keyboard hangs around for ...
Trapezius asked 4/12, 2014 at 23:49

© 2022 - 2025 — McMap. All rights reserved.