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
Bug 表现 UIImage *imge = [UIImage qmui_imageWithName:_name themeProvider:^UIImage * _Nonnull(__kindof QMUIThemeManager * _Nonnull manager, __kindof NSObject * _Nullable identifier, __kindof NSObject * _Nullable theme) { return [UIImage imageNamed:[identifier isEqualToString:QDThemeIdentifierDark] ? [_name stringByAppendingString:@"_dark"] : [_name stringByAppendingString:@"_light"]]; }]; [mobleBtn setImage:imge forState:0];
图片未改变
预期的表现 正常情况下,应该是什么表现
其他信息
The text was updated successfully, but these errors were encountered:
你可以试一下这个: UIImage *image = [UIImage qmui_imageWithName:_name themeProvider:^UIImage * _Nonnull(__kindof QMUIThemeManager * _Nonnull manager, __kindof NSObject * _Nullable identifier, __kindof NSObject * _Nullable theme) { return [identifier isEqualToString:QDThemeIdentifierDark] ? [UIImage imageNamed:[_name stringByAppendingString:@"_dark"]] : [UIImage imageNamed:[_name stringByAppendingString:@"_light"]]; }]; [mobileBtn setImage:image forState:0];
Sorry, something went wrong.
No branches or pull requests
Bug 表现
UIImage *imge = [UIImage qmui_imageWithName:_name themeProvider:^UIImage * _Nonnull(__kindof QMUIThemeManager * _Nonnull manager, __kindof NSObject * _Nullable identifier, __kindof NSObject * _Nullable theme) {
return [UIImage imageNamed:[identifier isEqualToString:QDThemeIdentifierDark] ? [_name stringByAppendingString:@"_dark"] : [_name stringByAppendingString:@"_light"]];
}];
[mobleBtn setImage:imge forState:0];
图片未改变
预期的表现
正常情况下,应该是什么表现
其他信息
The text was updated successfully, but these errors were encountered: