Skip to content

Commit

Permalink
Merge pull request tinymind#23 from dimohamdy/master
Browse files Browse the repository at this point in the history
add pdf as extension of image
  • Loading branch information
tinymind authored Feb 15, 2017
2 parents 97549ad + 19044bd commit afe84ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LSUnusedResources/Model/StringUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ + (NSString *)stringByRemoveResourceSuffix:(NSString *)str suffix:(NSString *)su

+ (BOOL)isImageTypeWithName:(NSString *)name {
static NSArray *arr = nil;
arr = @[@"png", @"jpg", @"jpeg", @"gif", @"bmp"];
arr = @[@"png", @"jpg", @"jpeg", @"gif", @"bmp", @"pdf"];
NSString *ext = [[name pathExtension] lowercaseString];
if ([arr containsObject:ext]) {
return YES;
Expand Down

0 comments on commit afe84ff

Please sign in to comment.