You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
668B

  1. using Foundation;
  2. using UIKit;
  3. using Avalonia;
  4. using Avalonia.Controls;
  5. using Avalonia.iOS;
  6. using Avalonia.Media;
  7. using Avalonia.ReactiveUI;
  8. namespace Example.iOS;
  9. // The UIApplicationDelegate for the application. This class is responsible for launching the
  10. // User Interface of the application, as well as listening (and optionally responding) to
  11. // application events from iOS.
  12. [Register("AppDelegate")]
  13. public partial class AppDelegate : AvaloniaAppDelegate<App>
  14. {
  15. protected override AppBuilder CustomizeAppBuilder(AppBuilder builder)
  16. {
  17. return base.CustomizeAppBuilder(builder)
  18. .WithInterFont()
  19. .UseReactiveUI();
  20. }
  21. }