UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IOSAppDelegate.cpp File Reference
#include "IOS/IOSAppDelegate.h"
#include "IOS/IOSCommandLineHelper.h"
#include "HAL/ExceptionHandling.h"
#include "Modules/Boilerplate/ModuleBoilerplate.h"
#include "Misc/CallbackDevice.h"
#include "IOS/IOSView.h"
#include "IOS/IOSWindow.h"
#include "Async/TaskGraphInterfaces.h"
#include "GenericPlatform/GenericPlatformChunkInstall.h"
#include "IOS/IOSPlatformMisc.h"
#include "IOS/IOSBackgroundURLSessionHandler.h"
#include "HAL/PlatformStackWalk.h"
#include "HAL/PlatformProcess.h"
#include "Misc/OutputDeviceError.h"
#include "Misc/CommandLine.h"
#include "IOS/IOSPlatformFramePacer.h"
#include "IOS/IOSApplication.h"
#include "IOS/IOSAsyncTask.h"
#include "Misc/ConfigCacheIni.h"
#include "IOS/IOSPlatformCrashContext.h"
#include "Misc/OutputDeviceRedirector.h"
#include "Misc/FeedbackContext.h"
#include "Misc/App.h"
#include "Algo/AllOf.h"
#include "Misc/EmbeddedCommunication.h"
#include "Containers/Ticker.h"
#include "UObject/GarbageCollection.h"
#include <AudioToolbox/AudioToolbox.h>
#include <AVFoundation/AVAudioSession.h>
import <AVFoundation/AVFoundation.h>
#include "HAL/IConsoleManager.h"

Classes

class  IOSNotificationHandler
 

Macros

#define GAME_THREAD_STACK_SIZE   16 * 1024 * 1024
 
#define WITH_IOS_UNIVERSAL_LINKS   0
 

Functions

 DEFINE_LOG_CATEGORY (LogIOSAudioSession)
 
void InstallSignalHandlers ()
 
void LexFromString (EAudioFeature &OutFeature, const TCHAR *String)
 
FString LexToString (EAudioFeature Feature)
 

Variables

int GAudio_ForceAmbientCategory = 1
 
bool GShowSplashScreen
 
FAutoConsoleVariableRef CVarThreadBlockTime (TEXT("ios.lifecycleblocktime"), GMaxThreadWaitTime, TEXT("How long to block main IOS thread to make sure gamethread gets time.\n"), ECVF_Default)
 
FString GNotificationActivationProtocolKey = "activationProtocol"
 
FAutoConsoleVariableRef CVarNotificationActivationProtocolKey (TEXT("ios.notification.activationProtocolKey"), GNotificationActivationProtocolKey, TEXT("Notification data payload key that's associated with the activation protocol"), ECVF_Default)
 
bool GIOSDelayRotationUntilPresent = 1
 
FAutoConsoleVariableRef CVarDelayRotationUntilPresent (TEXT("ios.DelayRotationUntilPresent"), GIOSDelayRotationUntilPresent, TEXT("Whether to delay device rotation handling until we have a frame available at the new orientation (default=1).\n"), ECVF_Default)
 
bool GIsSuspended = 0
 
FCriticalSection RenderSuspend
 
double GCStartTime
 
void(^ completionHandler )()
 
int retryCount
 

Macro Definition Documentation

◆ GAME_THREAD_STACK_SIZE

#define GAME_THREAD_STACK_SIZE   16 * 1024 * 1024

◆ WITH_IOS_UNIVERSAL_LINKS

#define WITH_IOS_UNIVERSAL_LINKS   0

Function Documentation

◆ DEFINE_LOG_CATEGORY()

DEFINE_LOG_CATEGORY ( LogIOSAudioSession  )

◆ InstallSignalHandlers()

void InstallSignalHandlers ( )

◆ LexFromString()

void LexFromString ( EAudioFeature OutFeature,
const TCHAR String 
)

◆ LexToString()

FString LexToString ( EAudioFeature  Feature)

Variable Documentation

◆ completionHandler

void(^ completionHandler) () ( )
Initial value:
{
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127

◆ CVarDelayRotationUntilPresent

FAutoConsoleVariableRef CVarDelayRotationUntilPresent(TEXT("ios.DelayRotationUntilPresent"), GIOSDelayRotationUntilPresent, TEXT("Whether to delay device rotation handling until we have a frame available at the new orientation (default=1).\n"), ECVF_Default) ( TEXT("ios.DelayRotationUntilPresent")  ,
GIOSDelayRotationUntilPresent  ,
TEXT("Whether to delay device rotation handling until we have a frame available at the new orientation (default=1).\n" ,
ECVF_Default   
)

◆ CVarNotificationActivationProtocolKey

FAutoConsoleVariableRef CVarNotificationActivationProtocolKey(TEXT("ios.notification.activationProtocolKey"), GNotificationActivationProtocolKey, TEXT("Notification data payload key that's associated with the activation protocol"), ECVF_Default) ( TEXT("ios.notification.activationProtocolKey")  ,
GNotificationActivationProtocolKey  ,
TEXT("Notification data payload key that's associated with the activation protocol" ,
ECVF_Default   
)

◆ CVarThreadBlockTime

FAutoConsoleVariableRef CVarThreadBlockTime(TEXT("ios.lifecycleblocktime"), GMaxThreadWaitTime, TEXT("How long to block main IOS thread to make sure gamethread gets time.\n"), ECVF_Default) ( TEXT("ios.lifecycleblocktime")  ,
GMaxThreadWaitTime  ,
TEXT("How long to block main IOS thread to make sure gamethread gets time.\n" ,
ECVF_Default   
)

◆ GAudio_ForceAmbientCategory

int GAudio_ForceAmbientCategory = 1

◆ GCStartTime

double GCStartTime
extern

Time the GC started, needs to be reset on return from being in the background on some OSs

◆ GIOSDelayRotationUntilPresent

bool GIOSDelayRotationUntilPresent = 1

◆ GIsSuspended

bool GIsSuspended = 0

◆ GNotificationActivationProtocolKey

FString GNotificationActivationProtocolKey = "activationProtocol"

◆ GShowSplashScreen

bool GShowSplashScreen
extern

global for showing the splash screen

◆ RenderSuspend

FCriticalSection RenderSuspend

◆ retryCount

int retryCount