uipopovercontroller

issue with positioning of pop over view.

Hi, When I am switching between Portrait to Landscape view (&Vice Versa) in iPad, position of my popover view gets garbled. Here is how I am calculating frame of my popover view: aRect = self.myElement.frame; aRect.origin.x += aRect.size.width; [aPopOver presentPopoverFromRect:aRect inView:self.myElement.superview permittedArrowDirecti...

UIDatePicker in PopoverView in iPad

I have an iPad specific application running iOS 3.2.2 which displays a settings view in a ui popover. This all renders great, but now I'm trying to get a date picker to render inside the view and not sure what the best approach is for displaying it. Right now it has a button which toggles visibility of the date picker within the modal,...

Contents of UIPopover change to random orientation when Modal View is visible and iPad rotated

I have a uitableview within a navigation controller shown within a popover. When you press a bar button from within the popover (on a detail view), it shows a modal view. If you rotate the iPad with the popover visible and the modal view on top of that, the popover's content changes to a seemingly random orientation as shown below. Any ...

UIPopOverController for iPhone (currently only available for iPad)

Before I implement something similar for the iPhone, I'm wondering if anyone has implemented something similar of the UIPopOverController for the iPhone. This is so far only available for iPad. ...

Xcode 3.2.4 code sense does not work with UIPopoverController

Code sense is not giving me any options for UIPopoverController in my universal app. No initWithContentViewController for init options, no popoverContentSize for the instance, etc... Setting project format to Xcode 3.2-compatible and rebuilding the the Code Sense index did not help. What am I missing? ...

Set height of MFMailComposeViewController when pushed in UIPopoverController on iPad

I have a share button in a popover that pushes MFMailComposeViewController. The popover correctly becomes a modal view, as it's supposed to, until i dismiss the modal. The problem is that, while it keeps the width of the popover (320.0), it grows to the height of the view. I would like to set the mail view to a height of 500.0. Here's ...

UIPopoverController - display without title bar?

Hoping there is a way to do this. Would like to just display the border around the view, with no 40px title bar at the top. Possible? ...

Custom popover for iPad/iPhone

In the iBooks application, the brightness, font and search views subclass UIPopOverController but without border. Is there any way to mimic those views? ...

Getting co-ordinates of UIPopoverController

I want to use the UIPopoverController for a floating toolbar, as it does well at displaying in the best possible location. However it looks really ugly, with that thick black bar around it (and also the logic of using it for a toolbar is a bit hairy). So I am going to have a custom view for the toolbar. But I don't want to reinvent all ...

How do I dismiss other UIPopoverControllers when presenting a new one?

If I have several buttons that launches the same popovers, how can I dismiss the an already visible popover before displaying the new one? I have a local variable self.popover that is set to the current popovercontroller; i check this popover variable to see if it is visible; if it is visible then I dismiss it and then present the new o...

UIPopoverView becoming distorted when keyboard is shown + iPad

Hi all, I am having an issue with the layout of UIPopoverViewController. Currently I am showing an PopOver of Size (350, 820). I have a button clicking on UIAlertView will be shown with a text field within it.At the same time keyboard is also shown. Now the problem is that whenever the keyboard is my PopOver becomes distorted. Means th...

UIPopoverController & UIImagePickerControl: "Popovers cannot be presented from a view which does not have a window"

I am trying to display a UIImagePickerControl in my iPad app. At first, the debugger told me that I needed to put it in a popover when doing it on an iPad. So I wrote the following code: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; imagePicker.delegate = self; imagePicker.sourceType = UIImagePickerContr...

[UIPopoverController dealloc] reached while popover is still visible.

-(void)showsearch:(id)sender { SearchViewController *searchview =[[SearchViewController alloc] initWithNibName:@"SearchViewController" bundle:nil]; settingpopoverController = [[[UIPopoverController alloc] initWithContentViewController:searchview] autorelease]; [searchview r...

Drag & drop: detecting what you're dropping on

Assembled elders of the Cocoa-Touch, I have a question for you all about Drag & Drop on the iPad. I am attempting to drag an item from a popover onto an underlying canvas. Employing the UIPanGestureRecognizer class I can detect a drag-start and create a UIView to drag with the finger tip. My application runs in landscape mode. The tro...

UITableView width when inside a popover

See below - the tableView cells are getting cut off. Why doesn't this work? The width of the popover is 240. (In a subclass of UITableViewController) - (void)viewDidLoad { [super viewDidLoad]; self.tableView.frame = CGRectMake(0,0,200,200); } ...

numberOfRowsInSection called but not cellForRowAtIndexPath in MultipleDetailViews sample of apple

Hi, If you download this sample (ipad): http://developer.apple.com/library/ios/#samplecode/MultipleDetailViews/Introduction/Intro.html and you set a breakpoint at numberOfRowsInSection and also at cellForRowAtIndexPath and you start in landscape then i have the following question: First: the app comes twice in numberOfRowsInSection -> ...