Questions tagged [uimodalpresentationstyle]

157 questions
1
vote
1 answer

iOS 8 UIModalPresentationPageSheet with status bar hidden

I am building my app on iOS 8 and getting problem with status bar visibility when UIViewController is presented with modalPresentationStyle = UIModalPresentationPageSheet. I read the documentation that new API true value of…
1
vote
1 answer

UIModalPresentationCurrentContext and autorotation

I have a UINavigationController as root. And I want to present transparent modal VC on it. I set modalPresentationStyle to UIModalPresentationCurrentContext on UINavigationController. When I present VC it's transparent but autorotation works without…
1
vote
1 answer

Allow interactivity on UIViewController below presented UIViewController

Im presenting a UIViewController with a UIModalPresentationCustom presentation style and the presented UIViewController has it's main view's backgroundColor set to clearColor. I need to allow interactions to the UIViewController that sits below. …
wprater
  • 1,022
  • 11
  • 21
1
vote
1 answer

Should I use pushViewController or presentModalViewController for iPad UIModalPresentationFormSheet?

In all the examples of UIModalPresentationFormSheet, presentModalViewController is used. However, according to documentation, presentModalViewController has been deprecated in iOS 6.0. But I do not see any examples where UIModalPresentationFormSheet…
1
vote
0 answers

ios7 custom VC Transition: Overlap a Modal Form Sheet View

i want to use the new UIVC Custom Transition API in my iPad App Project. And i despair of it -.-. what i want to do, sounds very simple at first. My "FirstViewController" (simply the names) is a normal FullScreenVC. From that VC i open a…
1
vote
0 answers

uimodalpresentationpagesheet goes under the status bar

In the FirstView by pressing a button, SecondView is presented in UIModalPresentationPageSheet secondVC.modalPresentationStyle=UIModalPresentationPageSheet; The SecondView appears fine (its upper bound is next to the status bar) #1. Then in the…
1
vote
1 answer

iPad app modalpopup view corner not get proper color...?

I'm developing iPad application, at some point I need to popup view on IBAction. And the same I done properly with below code. SCSelection *vcSCSelection = [[SCSelection alloc]initWithNibName:@"SCSelection"…
Manish Jain
  • 842
  • 1
  • 11
  • 29
1
vote
1 answer

Bring overlapping UIViewController to front

I currently have three view controllers going on in my iPhone application at the same time. I use a slidingView. Here is my image: When I tap on a table view cell, I want to open a new view controller like this: (the egg is representing a new…
1
vote
2 answers

iPad app orientation and repositioning issues

I have a strange bug in my app when my UI flow is as follows: The mainViewController is launched in Portrait orientation, and in turn it displays a LoginViewController with modalPresentationStyle set to UIModalPresentationFullScreen. I turn the…
Vinod Vishwanath
  • 5,821
  • 2
  • 26
  • 40
1
vote
1 answer

Best way to trigger a Modal View Controller on Tab Bar press.

When the user triggers a tabbar item I want to display present a modal view controller. I have something working but it's probably not the cleanest way to do it. It also prevents the UITabBarItem to be in selected state. What I did is setting this…
1
vote
1 answer

How to dismiss the keyboard on iPad when using modalPresentationStyle

For my iPad app, I have a view displayed modally as a formsheet when a button is pushed. In order to have the keyboard dismissed after entering text in a textfield i tried as suggested; the "disablesAutomaticKeyboardDismissal" method. This does…
1
vote
3 answers

PresentModalViewController with some frame

I want to present a modalViewController with a small frame and at the center of the view. Is that possible? Even if I set some frame to the viewController object, presentModelViewController is displaying that view in full screen mode. Also, I have…
Bharath
  • 3,001
  • 6
  • 32
  • 65
0
votes
2 answers

Update view under a modal view form sheet

So, I have a view with the button. I tap on this button and modal view with style "Form Sheet" appears. There I make a change, and because of this change the background color of our first view with button (now behind of modal view) must be changed.…
Randex
  • 770
  • 7
  • 30
0
votes
0 answers

How to fix lag on presenting page sheet controller using custom tab bar controller

Context: I have a custom tab bar controller, with a center tab bar item for the main action of the app. Tapping this item presents a new view controller modally as a page sheet. Issue: When tapping this item AND only on first tap (immediately…
0
votes
1 answer

presentModalViewController fullscreenmode issue

I'm trying to present this modalViewController in my app and it needs to be fullscreen. This is how I call up the ModalViewController. myViewController = [[MyViewController alloc] init]; //self.myViewController.SomeView = [[UIView alloc]…