Questions tagged [uimodalpresentationformsh]
15 questions
43
votes
6 answers
UIModalPresentationFormSheet resizing view
I am interested to know on how I can resize the view when using UIModalPresentationFormSheet of modalPresentationStyle, it looks like it has a fixed size so I was wondering if anyone out there did managed to manipulate the popup view from the sizing…

tosi
- 1,873
- 2
- 18
- 38
41
votes
7 answers
Modal Dialog Does Not Dismiss Keyboard
I am running into an issue where the keyboard does not get dismissed when leaving a UITextField or UITextView in a UIModalPresentationFormSheet. In addition, I've created a large button to serve as the view's background so if the user taps outside…

DenVog
- 4,226
- 3
- 43
- 72
13
votes
1 answer
iPad modal form sheet takes up the whole screen anyways
I'm trying to create a form sheet modal on iPad, which should be a 540x620 modal view.
I've created a view controller with a NIB file whose view is a 540x620 sized UIView (with stuff on it).
I set the modal presentation style to…

Ben Zotto
- 70,108
- 23
- 141
- 204
6
votes
1 answer
UIModalPresentationFormSheet With Square (0 Radius) Corners?
By default iPad modal form sheets get rounded corners. In a couple of Apple's apps, such as iTunes, the form sheets have perfectly square corners. Is there a relatively easy way to remove the corner radius that won't get me rejected from the App…
user183082
4
votes
4 answers
Can't make modal view appear right in the center of the screen on iPad iOS6
I have a problem with modalviewcontrollers that I want to represent on iPad screen. If I leave the size as it is, then it's all centred fine. But I have very few info on these views, so I need to resize them.
So, when I resize them, I can't force…

titicaca
- 813
- 1
- 11
- 20
3
votes
1 answer
Present UIPopoverController from inside a modally presented view controller
Is it impossible to present a popover controller from a view controller that's presented as UIModalPresentationFormsheet? or am I missing something?
This code works fine on a non-modal view controller, and displays the popover…

aslı
- 8,740
- 10
- 59
- 80
2
votes
2 answers
Width of Modal Sheet on iPad
I am presenting an instance of UINavigationController modally with the modalPresentationStyle set to UIModalPresentationFormSheet. Inside the UINavigationController is an UITableViewController. For a delete button in the table view, I have to know…

fabian789
- 8,348
- 4
- 45
- 91
2
votes
1 answer
Presenting UIModalViews in landscape mode
I'm trying to present some UIModalFormSheets in a my iPad application. It's working without any problems, except one thing:
When I have my iPad in landscape mode my modal form sheet is moving to the center of the screen and then rotates into the…

Dominik
- 51
- 4
1
vote
1 answer
MPMoviePlayerViewController in UIModalPresentationFormSheet Problem
My problem is that i have a MPMoviePlayerViewController embeded inside a modalviewcontroller that has the formsheet atribute and when the video goes to fullscreen using the pinch or the arrows the controls dont work.
I have figured out that they…

Pete42
- 916
- 7
- 15
1
vote
1 answer
Change height of formSheet in iOS 8
I just have one question related to presenting a from sheet view controller in iOS 8. In iOS 7 I was able to change the height of the view controller using the last line of code in the function below:
SendRemainingEvaluationsViewController…

Maystro
- 2,907
- 8
- 36
- 71
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…

xxAvarlonxx
- 11
- 3
1
vote
0 answers
What is the correct way of resizing a modal navigation controller presented with UIModalPresentationFormSheet when showing a keyboard?
I'm presenting the navigation controller with this code (in the base class of the view controller being presented):
-(void)presentInNavigationControllerWithViewController:(UIViewController*)viewController
{
UINavigationController *nav =…

Lescai Ionel
- 4,216
- 3
- 30
- 48
0
votes
3 answers
UINavigation in UIModalPresentationFormSheet
Not sure if someone can help me.
I am trying to create a UIModalPresentationFormSheet with navigation. I can load the view but i am not sure how to setup the navigation controller so when a row in the tableloaded loads the edit screen. At the moment…

Aaron Stephenson
- 112
- 1
- 11
0
votes
1 answer
UIModalPresentationFormsheet action does not refresh the main view
I have a table with a list of employee data. User can select the employee and approve/reject the employee's application. If rejected user is supposed to select the reason for rejection and enter comments. I am using UIModalPresentationFormsheet to…

Tyagi
- 37
- 7
0
votes
1 answer
Why modal presentation is empty
I have two view controllers. In the first one I have a button and when it is clicked I want to show the other view controller in the right of the screen to login like modal present form sheet.
For the moment I have the second view controller with a…

Anna
- 189
- 1
- 8