We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
bundle加载按钮图片时,无法正确显示 PYAddImage [UIImage imageNamed:@"PYPhotosView.bundle/addimage"]
Sorry, something went wrong.
由于pods引用开启了动态库,因此库中的代码,无法找到对应bundle图片的路径 PYAddImage [UIImage imageNamed:@"PYPhotosView.bundle/addimage"]
应该改成,如下代码 NSBundle *bundle = [NSBundle bundleForClass:[PYPhotosView class]]; UIImage *image = [UIImage imageNamed:@"PYPhotosView.bundle/addimage" inBundle:bundle compatibleWithTraitCollection:nil];
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: