How to insert additional codes in IOSAppDelegate?

I want to insert additional codes in didFinishLaunchingWithOptions, applicationWillEnterForeground function.

Can I insert without modifying IOSAppDelegate.cpp?

It was possible by using AndroidPluginLanguage for Android but I can’t find any resources for iOS.

Hello,

From speaking to some of our mobile developers about this process, there doesn’t seem to be a direct way to do so as you would with AndroidPluginLanguage as you’re just editing the java end of things in that case. If you would like to use 4.13, as this isn’t available in older versions, I would suggest searching UPlatformGameInstance and using the ApplicationHasEnteredForegroundDelegate delegate. Otherwise, the best option would be using a source build and editing them directly as far as I know.

Thank you for your asnwer. That’s frustrating… I hope this feature be introduced as soon as possible for next version. It’s really important for mobile games.