12345678910111213141516171819202122232425 |
- using Foundation;
- using UIKit;
- using Avalonia;
- using Avalonia.Controls;
- using Avalonia.iOS;
- using Avalonia.Media;
- namespace ControlCatalog
- {
- // The UIApplicationDelegate for the application. This class is responsible for launching the
- // User Interface of the application, as well as listening (and optionally responding) to
- // application events from iOS.
- [Register("AppDelegate")]
- public partial class AppDelegate : AvaloniaAppDelegate<App>
- {
- protected override AppBuilder CustomizeAppBuilder(AppBuilder builder)
- {
- return base.CustomizeAppBuilder(builder)
- .AfterSetup(_ =>
- {
- Pages.EmbedSample.Implementation = new EmbedSampleIOS();
- });
- }
- }
- }
|