From 3f7ca1db70b4a32a3ae635f444bc9dc174d04c30 Mon Sep 17 00:00:00 2001 From: Sergey Minakov Date: Wed, 11 Nov 2020 18:18:08 +0300 Subject: iOS: Implement pluggable application delegate. --- platform/iphone/main.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'platform/iphone/main.m') diff --git a/platform/iphone/main.m b/platform/iphone/main.m index c292f02822..351b40a881 100644 --- a/platform/iphone/main.m +++ b/platform/iphone/main.m @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#import "app_delegate.h" +#import "godot_app_delegate.h" #import #include @@ -49,7 +49,8 @@ int main(int argc, char *argv[]) { printf("running app main\n"); @autoreleasepool { - UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + NSString *className = NSStringFromClass([GodotApplicalitionDelegate class]); + UIApplicationMain(argc, argv, nil, className); } printf("main done\n"); return 0; -- cgit v1.2.3