We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d38de54 commit d6a4f13Copy full SHA for d6a4f13
1 file changed
modules/yup_gui/native/yup_Windowing_ios.mm
@@ -82,7 +82,7 @@ - (void)applicationWillResignActive:(UIApplication* __unused)application
82
int yup_iOSMain(int argc, const char* argv[], void* customDelegatePtr);
83
int yup_iOSMain(int argc, const char* argv[], void* customDelegatePtr)
84
{
85
- Class delegateClass = (customDelegatePtr != nullptr ? reinterpret_cast<Class>(customDelegatePtr) : [YupApplicationDelegate class]);
+ Class delegateClass = (customDelegatePtr != nullptr ? (__bridge Class) customDelegatePtr : [YupApplicationDelegate class]);
86
87
return UIApplicationMain(argc, const_cast<char**>(argv), nil, NSStringFromClass(delegateClass));
88
}
0 commit comments