Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Files

Popovers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 20, 2012
Oct 5, 2011
Nov 17, 2011
Feb 17, 2023
Feb 17, 2023
Jan 19, 2015
Jul 19, 2017
Feb 19, 2016
Feb 17, 2023
Mar 23, 2015
Feb 17, 2023
Jan 19, 2015
Aug 7, 2018
Nov 17, 2011
Jul 23, 2019
Feb 17, 2023
Jan 19, 2015
name description page_type languages products urlFragment
Xamarin.iOS - Popovers
This sample demonstrates proper use of UIPopoverController in iOS. UIPopoverController presentation, dismissing, and rotation handling are covered....
sample
csharp
xamarin
popovers

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.

Popovers application screenshot

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.

License

Xamarin port changes are released under the MIT license