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 e171c8a commit 7a62b09Copy full SHA for 7a62b09
app/src/util_ios.mm
@@ -81,7 +81,7 @@ - (BOOL)application:(UIApplication *)application
81
82
void ForEachAppDelegateClass(void (^block)(Class)) {
83
unsigned int number_of_classes;
84
- Class *classes = objc_copyClassList(&number_of_classes);
+ Class *classes = objc_copyRealizedClassList(&number_of_classes);
85
for (unsigned int i = 0; i < number_of_classes; i++) {
86
Class clazz = classes[i];
87
if (class_conformsToProtocol(clazz, @protocol(UIApplicationDelegate))) {
0 commit comments