I have a popover containing a UINavigationController. I can display the popover fine, and it contains the navController just fine. The navController contains a tableView and when I select an item it creates a new detail view:
DeviceDetailViewController *detailViewController =
[[[DeviceDetailViewController alloc] initWithNibName:...
Hi, I want to show a popover with a custom contentsize.
I can do it doing like so
UINavigationController* popoverContent = [[UINavigationController alloc] init];
UIView* popoverView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 800, 800)];
popoverView.backgroundColor = [UIColor blueColor];
popoverContent.view = popov...
I am trying to present a Popover from a button in a UIModalPresentationPageSheet. It crashes the app and returns the following message to the console:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Popovers cannot be presented from a view which does not have a window.'
My code works fine in a standard...
Hi,
I have a view controller that is inside a popover, and I want to present a modal view controller from it. Here's my code:
EditDateViewController *dateViewController = [[EditDateViewController alloc] initWithNibName:@"EditDateViewController" bundle:[NSBundle mainBundle]];
UINavigationController *navController = [[UINavigationCon...
Hi everyone
I will explain my problem briefly summarizing as much as I can.
I have a label lets say "Hello" which is found on my RootViewController. I have a popover which appears when I press on a button on my RootViewController.
On that popover, I have another button on it and when I press on it, I want it to change the label on the...
Hi there
Could anyone confirm me the maximum size of a popoverview?
Thanks
...
I'm displaying a popover in ipad with a uinavigation bar. On the second view I have a UISearchController that can display a keyboard. The keyboard pushes the popover up which is fine. However if I now push the 'back' button on the UINavigation bar it dismisses the keyboard which is fine, but the popover doesn't slide back down to its ...
When a splitview is in portrait mode, the rootView shows as a popover.
in this case, my rootView has a tableView with a searchBar at the top. When I tapped the search bar, the keyboard appears, and the splitView's popover automatically adjust its height, but at the same time, I get this in the top of the popover..
Any ideas?
Thanks in...
I have my UIPopoverController with self as a delegate:
I receive calls when I tap outside the popover controller, but when I tap inside I want to dismiss too, so I use -dismissPopoverAnimated: but delegate is not called in this case.
Is this normal? Is this a bug or I am doing something wrong?
newDocPopoverController = [[UIPopoverContro...
hi
i want to know is this possible that we can change tint color of toolbar of UIpopovercontroller.
i used this code but toolbar color is not changed
Searchpopoverobj.MynavigationController.toolbar.tintColor=Searchpopoverobj.MynavigationController.navigationBar.tintColor;
...
Hello, I am trying to replicate the iPad passcode view. Which basically is a popover with no arrow direction, that locks the background view kinda like a modal view controller.
My question: Is there a way to lock the underlying background view when presenting a popover.
My idea: The only real solution that i could come up with is pl...
Is it posible to present a keyboard the way is shown when you set a passcode for your ipad?
...
I push a UITableViewController into a NavigationController (the NavController returned in the 0th element of a call to UISplitViewController viewControllers). I set this TVC to be the UISplitViewControllers delegate. The newly pushed TVCs delegate functions are getting called as they should but they are called with the popoverControlle...
I have a UIPopoverController containing a UITableView. The popover is resized in its view controller's -viewDidAppear function to fit the contents of the table. While the popover resizes properly, its arrow is usually no longer pointing at the original CGRect. Is there a way to force the popover to reposition itself after a resize so ...
I am switching views within the window. The orientation is sometimes confused.
Within one of the windows, when I attempt to display a popover which should be attached to a toolbar button, it is displayed in the location on the screen. If I physically change the orientation of the device, the popover is redraw in the correct location. If...
Below is some code I am using to display a popup.
The first time this is called the popup gets displayed.
The 2nd time it is called it fails with a "EXE_BAD_ACCESS" error.
It fails on the line "self.myTextPopOver = pop;"
If I comment out the line [pop release] everything works OK but that would mean I am leaking memory.
// Popover Text
...
I have an "add Contact" button which when on iPhone I present a navigation controller with root view controller of an ABNewPersonController modally.
If on iPad I have got a popover which I can display with the new person controller inside - nice.
The problem comes when trying to dismiss.
I can dismiss the popover when touching...
How can I show the keyboard when my popover shows up?
The popover is UIViewController that I call from a popoverController.
The popover has an UITextField and when the popover is displayed, the keyboard need to show up too and the cursor go to the UITextfield.
I tried to put the becomeFirstResponder under viewDidLoad or viewWillLoad,...
Hi,
I would like to know to make an UIPopoverController without arrows
In fact I would like to simulate something like this:
See that
There is no arrows
There is a title that is somehow inside of a expanded top border of the UIPopoverController and not inside of it like in the normal UIPopoverController.
I assume this is not reall...
Hello! I’ve got an UIActionSheet with a single button that I show in a popover. In landscape mode there is a plenty of space around the popover, so that it displays with an arrow in the middle and everything is fine:
In portrait the popover has to be displayed with an arrow on the right side:
Now the button looks a little bit too l...