We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7586aef commit f557824Copy full SHA for f557824
iOS_SDK/OneSignal/OneSignal.m
@@ -1241,6 +1241,12 @@ @implementation UIApplication (OneSignal)
1241
+ (void)load {
1242
[OneSignal onesignal_Log:ONE_S_LL_VERBOSE message:@"UIApplication(OneSignal) LOADED!"];
1243
1244
+ // Prevent Xcode storyboard rendering process from crashing with custom IBDesignable Views
1245
+ // https://github.com/OneSignal/OneSignal-iOS-SDK/issues/160
1246
+ NSProcessInfo *processInfo = [NSProcessInfo processInfo];
1247
+ if ([[processInfo processName] isEqualToString:@"IBDesignablesAgentCocoaTouch"])
1248
+ return;
1249
+
1250
if (SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(@"7.0"))
1251
return;
1252
0 commit comments