diff --git a/src/MayShow.iOS/AppDelegate.cs b/src/MayShow.iOS/AppDelegate.cs new file mode 100644 index 0000000..dead003 --- /dev/null +++ b/src/MayShow.iOS/AppDelegate.cs @@ -0,0 +1,23 @@ +using Foundation; +using UIKit; +using Avalonia; +using Avalonia.Controls; +using Avalonia.iOS; +using Avalonia.Media; + +namespace MayShow.iOS; + +// 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")] +#pragma warning disable CA1711 // Identifiers should not have incorrect suffix +public partial class AppDelegate : AvaloniaAppDelegate +#pragma warning restore CA1711 // Identifiers should not have incorrect suffix +{ + protected override AppBuilder CustomizeAppBuilder(AppBuilder builder) + { + return base.CustomizeAppBuilder(builder) + .WithInterFont(); + } +} diff --git a/src/MayShow.iOS/Entitlements.plist b/src/MayShow.iOS/Entitlements.plist new file mode 100644 index 0000000..c2cba09 --- /dev/null +++ b/src/MayShow.iOS/Entitlements.plist @@ -0,0 +1,5 @@ + + + + + diff --git a/src/MayShow.iOS/Info.plist b/src/MayShow.iOS/Info.plist new file mode 100644 index 0000000..a102025 --- /dev/null +++ b/src/MayShow.iOS/Info.plist @@ -0,0 +1,43 @@ + + + + + CFBundleDisplayName + MayShow + CFBundleIdentifier + companyName.MayShow + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + MinimumOSVersion + 13.0 + UIDeviceFamily + + 1 + 2 + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/src/MayShow.iOS/Main.cs b/src/MayShow.iOS/Main.cs new file mode 100644 index 0000000..81aebc4 --- /dev/null +++ b/src/MayShow.iOS/Main.cs @@ -0,0 +1,14 @@ +using UIKit; + +namespace MayShow.iOS; + +public class Application +{ + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } +} diff --git a/src/MayShow.iOS/MayShow.iOS.csproj b/src/MayShow.iOS/MayShow.iOS.csproj new file mode 100644 index 0000000..4e9cf6a --- /dev/null +++ b/src/MayShow.iOS/MayShow.iOS.csproj @@ -0,0 +1,16 @@ + + + Exe + net10.0-ios + 13.0 + enable + + + + + + + + + + diff --git a/src/MayShow.iOS/Resources/LaunchScreen.xib b/src/MayShow.iOS/Resources/LaunchScreen.xib new file mode 100644 index 0000000..c879ae7 --- /dev/null +++ b/src/MayShow.iOS/Resources/LaunchScreen.xib @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/MayShow.slnx b/src/MayShow.slnx index 4068b80..5bffe03 100644 --- a/src/MayShow.slnx +++ b/src/MayShow.slnx @@ -1,5 +1,4 @@ - - - + +