update
This commit is contained in:
parent
1fd631f004
commit
921fbe02fa
@ -383,7 +383,7 @@ static NSString * const STATIC_CACHE_COMPONENT = @"StaticCache.txt";
|
||||
- (nullable UIImage *)getImageFromRegisteredBundles:(nonnull NSString *)imageName {
|
||||
UIImage *image = nil;
|
||||
for (NSBundle *bundle in self.imageBundles) {
|
||||
image = [UIImage imageNamed:imageName inBundle:bundle withConfiguration:nil];
|
||||
image = [UIImage imageNamed:imageName inBundle:bundle compatibleWithTraitCollection:nil];
|
||||
if (image) {
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user