1
0

AppDelegate.cs 774 B

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