ios-samples/Popovers
Rolf Bjarne Kvinge c48c4d648c
Add .editorconfig and fix formatting accordingly. (#471)
The new .editorconfig is copied from the one in xamarin/xamarin-macios.

Formatting was fixed using 'dotnet format whitespace --folder .'
2023-02-17 14:55:43 +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 Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
DetailViewController.cs Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
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 Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
Metadata.xml Add brief description tag to metadata.xml 2015-03-23 18:03:04 +03:00
PopoverContentViewController.cs Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
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 update readme, fix links 2019-07-23 13:26:12 -07:00
RootViewController.cs Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
RootViewController.designer.cs Pull from upstream 2015-01-19 20:39:40 +05:30

README.md

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