I have a UIPopoverController hosting a UINavigationController, which contains a small hierarchy of view controllers.
I followed the docs and for each view controller, I set the view's popover-context size like so:
[self setContentSizeForViewInPopover:CGSizeMake(320, 500)];
(size different for each controller)
This works as expected ...
I am trying to get a popover to appear at a map kit annotation point but cannot find a "rect" in the annotation view properties to use the rect method of calling uipopovercontroller. If given an annotation on map kit how does one find the appropriate "frame"?
To give paul more information, here is my attempt: I have already used:
-...
Hi all, i'm developing an application for iPad. I have a mapview with several annotations. I need to show a pop-over when the accessory callout method is called, so that the arrow of the popover will point towards the annotation. I am trying to use 'initWithRect' method of the popover, but i'm not getting the co-ordinates(the CGRect in v...
I have set the size of the tableView that I show as the popoverController as 4*rowheight. And I am using 12cells in the tableView. Each cell contains an image and a label. I can see all the cells by scrolling. Upto 5th cell its ok. After th2 5th cell, the label and the image that I am using in the first four cells are being repeated for ...
I have a split view-based app that presents a master-detail interface, and uses a popover to present the master list when in portrait mode. The popover presents a sectioned table view that ultimately gets populated by a subclass of NSFetchedResultsController. I can tap the tool bar button to present the master list, scroll to whatever ro...
On the iPad, one can show a UIActionSheet using -showFromBarButtonItem:animated:. This is convenient because it wraps a UIPopoverController around the action sheet and it points the popover's arrow to the UIBarButtonItem that is passed in.
However, this call adds the UIBarButtomItem's toolbar to the list of passthrough views - which is...
Hi,
I am using this code to open a popover with imagepicker
-(IBAction)photosAction:(id)sender
{
// dismiss any left over popovers here
UIImagePickerController* picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
picker.delegate = self;
UIPopoverController *popover = ...
Hi,
I have a universal app. On the iPad, when pressing an annotation pin it shows the callout bubble. When I press the desclosure button, it loads a uipopovercontroller with a detailed view.
What I want to know is how I can load the uipopovercontroller the same way the Google Maps load the uipopovercontroller. Is there a guide out ther...
Hi,
First I would like to say that I'm really new to ipad/ipod/iphone development, and to objective-c too.
With that being said, I'm trying to develop a small application targeting the iPad, using Xcode and IB, basically, I have a table, for each UITableViewCell in the table, I added to the accessoryView a button that contains an image...
Now my UIPopoverController auto dismiss when click on anywhere but Navigation Bar. Does anyone have solution ? Thanks for help.
...
I'm somewhat unclear on the object ownership patterns required for the following instances. When my UIViewController presents a popover controller, an action sheet, or another view controller as modal, am I required to hang onto a retained reference to that child controller until it's been dismissed?
In other words, do the following lin...
I've been stuck on this for days and each time I come back to it I keep making my code more and more confusing to myself, lol. Here's what I'm trying to do. I have table list of charges, I tap on one and brings up a model view with charge details. Now when the model is presented a object is created to fetch a XML list of users and parses...
Hi there,
In my iPad application, I'm letting the user select an image using the following code:
UIImagePickerController* picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
picker.delegate = self;
UIPopoverController *popover = [[UIPopoverController alloc] initWithCon...
I have a UIPopoverController with a subclass UINavigationController. Both the parent and child views are UITableviews.
When i call parent view originally with contentSizeForViewInPopover = (320,480) it works great.
When i click into the child view i resize the popover to contentSizeForViewInPopover = (320,780)
When return back to the...
Hai all,
I am looking for a solution to customize PopoverController view in my iPad app. I need to remove the pointing icon along with the popover view and to make the view to the middle of the App window. It should go back to the button from where it is popped when we click on anywhere other than the popover view. USA TODAY app in iPad...
I would like to make a navigation based popover master pane kinda like the one in ipad mail app.I already have the data in a uitable view in the popover, how would i put each of them nd their own category in a navigation based popover.
Thanks,
Elvin
...
I've created a TabBar application and in one of the views I'm using a popover. The view is registered for UIPopoverControllerDelegate but that doesn't do it. The popover is a completely different view controller and xib. When the user selects a row in the popover, control goes to the popovercontroller.m method
- (void)tableView:(UITab...
I'm not sure why this is coming up I am porting my app into an ipad version and moving one of my views which happens to be a navigation controller into a uipopover. I did have a uibarbutton item on the view im porting with a "done" button to dismiss the navcontroller but I commented out that code and its still appearing, not sure why.
I...
Hi,
I am having problems with my universal app.
I have set the Base SDK to iPhone 3.2 and set the target to 3.1.
I have moved the files that are using the UIPopoverController to their own files and they shouldn't be loaded when loading the app on the iPhone.
Still, when I build my app I get the following error when I build and debug ...
In my app I have 3 UIPopOvers. They appear when user taps buttons in the toolbar. I need to make the popovers appear in the correct place when user rotates iPad if the popover is already opened (like the -willAnimateRotationToInterfaceOrientation:).
How can I do it?
Thanks in advance!
...