summaryrefslogtreecommitdiff
path: root/platform/iphone/main.m
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-16 17:02:16 +0100
committerGitHub <noreply@github.com>2020-11-16 17:02:16 +0100
commite5dfb9b25e128d88a4628f82d22fddf3046de75a (patch)
treea38e03270786f9ecfb03eea14acfccd906072038 /platform/iphone/main.m
parentd191ffe647b5074bd939f6289957f1610159a31d (diff)
parent3f7ca1db70b4a32a3ae635f444bc9dc174d04c30 (diff)
Merge pull request #43556 from naithar/feature/pluggable_app_delegates
[4.0] [iOS] Pluggable application delegate
Diffstat (limited to 'platform/iphone/main.m')
-rw-r--r--platform/iphone/main.m5
1 files changed, 3 insertions, 2 deletions
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 <UIKit/UIKit.h>
#include <stdio.h>
@@ -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;