You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
// original code
self.assetBundle = [NSBundle bundleForClass:[self class]];
If my VC inherited from QBImagePickerController, "[self class]" is actually get my own VC class, so it couldn't find the author's own bundle, if use "NSClassFromString (@ "QBImagePickerController")" this way for get a class, maybe solve this problem.
// original code
self.assetBundle = [NSBundle bundleForClass:[self class]];
If my VC inherited from QBImagePickerController, "[self class]" is actually get my own VC class, so it couldn't find the author's own bundle, if use "NSClassFromString (@ "QBImagePickerController")" this way for get a class, maybe solve this problem.
// fixed code
self.assetBundle = [NSBundle bundleForClass:NSClassFromString(@"QBImagePickerController")];
What are my own opinion, if not considering the, still hope pointed out!
The text was updated successfully, but these errors were encountered: