ios-samples/Popovers
Paola Villarreal 9e20830526 Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
..
Resources add new resources 2012-12-20 14:20:14 -05:00
Screenshots Screenshots for Popovers (thanks Rodrigo). 2011-10-05 21:49:54 +02:00
en.lproj Move stuff around so csproj files are in the same directory as sln files. 2011-11-17 17:07:00 +01:00
AppDelegate.cs Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
DetailViewController.cs Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
DetailViewController.designer.cs Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
Info.plist Rebuilt samples to fix bug 1842 2014-04-22 14:50:22 -04:00
Main.cs Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
Metadata.xml Added gallery opt-in to metadata 2014-02-20 10:22:07 -05:00
PopoverContentViewController.cs Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
PopoverContentViewController.designer.cs Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
Popovers.csproj Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
Popovers.sln Move stuff around so csproj files are in the same directory as sln files. 2011-11-17 17:07:00 +01:00
README.md bugfix Popover sample 2012-03-07 10:00:32 +11:00
RootViewController.cs Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00
RootViewController.designer.cs Popopvers sample ported to 64-bits 2014-07-22 11:42:07 -05:00

README.md

Popovers

This sample demonstrates proper use of UIPopoverController in iOS. UIPopoverController presentation, dismissing, and rotation handling are covered. The sample is provided using a UISplitViewController in order to show proper handling of UIPopoverControllers being presented from UIBarButtonItems. Additional handling ensures that multiple UIPopoverControllers are never presented at the same time.

Popovers are only supported on the iPad.

Build Requirements

iOS 4.1 or later

Runtime Requirements

iOS 3.2 or later

Packaging List

PopoversAppDelegate The application delegate sets up the initial view and makes the window visible.

RootViewController Acts as the master list view controller for the split view controller and adds rows of placeholder items to the table view.

DetailViewController Displays the detail view of the split view controller. This also contains buttons and a bar button item that all present popovers. The detail view responds to orientation changes when popovers are visible and re-displays them in the new orientation. The detail view is also responsible for ensuring that there are never multiple popovers visible at the same time.

PopoverContentViewController A view controller that is the contents of the popovers in this sample. In this example, the view controller only contains a label with text.

Copyright (C) 2010 Apple Inc. All rights reserved.

Authors

alexrp, Craig Dunn