ios-samples/Popovers
David Britch 168efa013e Switched to 64-bit only builds. 2018-08-07 14:13:47 +01: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 [Popover] Setup root view controller 2015-09-16 13:14:46 -03:00
DetailViewController.cs Pull from upstream 2015-01-19 20:39:40 +05:30
DetailViewController.designer.cs Pull from upstream 2015-01-19 20:39:40 +05:30
Info.plist Updated architecture setting to 32&64 bit, and specified iOS 9 as minimum SDK version. 2017-07-19 13:27:52 +01:00
LICENSE.txt [Popovers] Add license file 2016-02-18 22:10:37 -03:00
Main.cs Pull from upstream 2015-01-19 20:39:40 +05:30
Metadata.xml Add brief description tag to metadata.xml 2015-03-23 18:03:04 +03:00
PopoverContentViewController.cs Pull from upstream 2015-01-19 20:39:40 +05:30
PopoverContentViewController.designer.cs Pull from upstream 2015-01-19 20:39:40 +05:30
Popovers.csproj Switched to 64-bit only builds. 2018-08-07 14:13:47 +01: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 [Popovers] Update readme 2016-02-18 22:09:13 -03:00
RootViewController.cs Pull from upstream 2015-01-19 20:39:40 +05:30
RootViewController.designer.cs Pull from upstream 2015-01-19 20:39:40 +05:30

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.

Xamarin port changes are released under the MIT license

Authors

alexrp, Craig Dunn