2026-09-19 15:43:37 +02:00
|
|
|
using Foundation;
|
|
|
|
|
using UIKit;
|
|
|
|
|
|
|
|
|
|
namespace VoiceCat.iOS;
|
|
|
|
|
|
|
|
|
|
[Register("AppDelegate")]
|
|
|
|
|
internal sealed class AppDelegate : UIApplicationDelegate
|
|
|
|
|
{
|
|
|
|
|
public override bool FinishedLaunching(UIApplication application, NSDictionary? launchOptions)
|
|
|
|
|
{
|
|
|
|
|
AppModel.Shared.Load();
|
2026-09-26 20:30:24 +02:00
|
|
|
#if DEBUG
|
|
|
|
|
SimulatorSmoke.RunIfRequested();
|
|
|
|
|
#endif
|
2026-09-19 15:43:37 +02:00
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override UISceneConfiguration GetConfiguration(UIApplication application, UISceneSession connectingSceneSession,
|
|
|
|
|
UISceneConnectionOptions options) => new("Default Configuration", connectingSceneSession.Role)
|
|
|
|
|
{ DelegateType = typeof(SceneDelegate) };
|
|
|
|
|
}
|