Hi,guys. i want to load "amount of UIImages" from PhotoAlbum at a time and display on the UIView. in iOS3 ,it may like :
NSString *file_path = @"/var/mobile/Media/DCIM/100APPLE/"
NSArray *imageSource = [fileManager contentsOfDirectoryAtPath:file_path error:nil] ;
UIImage *image = [UIImage imageWithContentsOfFile:[imageSource objectAtIndex:index]] ;
if (!image) {
NSLog(@"load image fail : %@" ,[imageSource objectAtIndex:index]) ;
}
return image ;
and in iOS3, this method is work ! but now in iOS4 , i know the path have been changed to @"/var/mobile/Media/PhotoData/100APPLE/"
and imageSource can parse to 2 types file : .BTH(full size) .THM(thumbnail) ,but it can't read BTH from [UIImage imageWithContentsOfFile:XXX.BTH]
is there any solution for this problem ? or this method should be reject from Apple ?
Thanks a lot !