20 lines
625 B
C#
20 lines
625 B
C#
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();
|
||
|
|
IosAudioRouter.Shared.Load();
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
|
||
|
|
public override UISceneConfiguration GetConfiguration(UIApplication application, UISceneSession connectingSceneSession,
|
||
|
|
UISceneConnectionOptions options) => new("Default Configuration", connectingSceneSession.Role)
|
||
|
|
{ DelegateType = typeof(SceneDelegate) };
|
||
|
|
}
|