Questions tagged [uimodalpresentationstyle]

157 questions
0
votes
1 answer

UITableView not interacting after modyifing the bounds on a UIModalPresentationCustom

Basically, I am trying to present a custom modal view with a specific size and position since I was able to manage this through popover on iOS 7. But on iOS it seems they change things. I manage to achieve this with the following: Presentation: …
0
votes
1 answer

iOS 8 - Unable to make the UIModalPresentationFormSheet transparent

In iOS 7, I have a piece of code that works similar to requirements mentioned in How do I make the flip animation on a modal view on the iPad transparent in the background? and Seamlessly flip from one modal view to another, without showing a…
0
votes
0 answers

Change frame of present viewController of UIModalPresentationFormSheet model style

how to change frame of presented viewController of model style "UIModalPresentationFormSheet" expected frame current frame i have tried setting view bounds OverlayViewController.view.superview.bounds = CGRectMake(20,20,600,400) have set frame and…
iMeMyself
  • 1,649
  • 13
  • 28
0
votes
1 answer

UIModalPresentationFormSheet in iPad Landscape Not Centering Properly?

When I present my modal view using the UIModalPresentationFormSheet style it centers correctly, but when the keyboard appears (a second after), instead of moving the modal view up vertically it moves it either to the left or to the right, almost as…
0
votes
1 answer

Objective-C - Dismiss form sheet and page sheet at same time

I have a UINavigationController, in which I push a view controller with a UIModalPresentationPageSheet presentation style. From within this page sheet's view controller, I present a view controller with UIModalPresentationFormSheet style. When the…
jkh
  • 3,618
  • 8
  • 38
  • 66
0
votes
1 answer

How to switch the views form address book to mailing view

This might be a trivial thing but I am new to xamarin/monotouch or iPhone/IOS development, I am trying to make an application(sort of gallery+mail) in which I want to share the image.At longpress it should open the contacts from where I can select…
0
votes
1 answer

PresentViewController from AppDelegate

I am trying to present a ViewController which I know can be done with the following line. [self presentViewController:myVC animated:YES completion:nil]; However I have a part which is calling the AppDelegate and that is where I run into trouble. I…
jwknz
  • 6,598
  • 16
  • 72
  • 115
0
votes
1 answer

UITableView styling ignored in Modal Presentation Style

I have a problem with the styling of a UITableView in a UIViewController when presented modally on iPad inside of a UINavigationController. Very simply, I want the table cell border to not appear and so in IB I set the Separator Style to 'None' and…
Aaron
  • 7,055
  • 2
  • 38
  • 53
0
votes
1 answer

I have a bug with shadow when I resize modal view controller

I want to resize and reposition modal view. Resize works well. Reposition doesn't work. There is bug with shadow. Please see screenshot number two. Is it possible to lower shadow? -(IBAction) onModal:(id)sender { UINavigationController *nav =…
Voloda2
  • 12,359
  • 18
  • 80
  • 130
0
votes
1 answer

Problems using UINavigation Controller Within ModalViewController

I am trying to present the rootview of a UINavigationController in a modal fashion from another UIViewController. However, when I click the button that triggers the modal transition, I get a blank screen with an empty UINavBar. I suspect I am not…
ChemDev
  • 827
  • 1
  • 8
  • 23
0
votes
1 answer

How to make navigation bar black in modal view in ios

I made a modal view. I don't want default color. How can I put its navigation to black color? Here is my code which doesn't work: EditBillItemModalViewController *editBillItemvc = [[EditBillItemModalViewController alloc] init]; editBillItemvc.anItem…
user1584341
0
votes
1 answer

UIImagePickerController over UIModalPresentationFormSheet : ipad

I am using UIModalPresentationFormSheet and opening UIImagePickerController (or any UIViewController) but size of UIModalPresentationFormSheet changes when dismissing the UIImagePickerController or any other controller modalViewController…
Amit Battan
  • 2,968
  • 2
  • 32
  • 68
0
votes
0 answers

Issue with Modal View Controller Size

I have a View Controller that I present modally using the following code : about.modalPresentationStyle = UIModalPresentationFormSheet; [self presentModalViewController:about animated:NO]; about.view.superview.frame = CGRectMake(…
Ahsan
  • 2,964
  • 11
  • 53
  • 96
0
votes
1 answer

Handle to ModalPresentationFormSheet for Keyboard Dismissal

All, I have a DetailViewController that has its class set to UIControl and there is a "backgroundTouched" IBAction method that handles those background touch events perfectly. When I change the DetailViewController to be presented modally, in a…
Slinky
  • 5,662
  • 14
  • 76
  • 130
-1
votes
1 answer

Change the animation style of a modal UIViewController?

I would like to change the default animation of the presentModalViewController (sliding from bottom to top) so that it is the same as the animation in the UINavigationController (sliding from right to left)....How is this possible? I couldn't find a…
ucabdro
  • 23
  • 1
  • 5
1 2 3
10
11