-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
iOS17系统切换主题时图片不会变化 #1537
Comments
你可以试一下这个: |
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: