show image on imageview
i have one problem. i need to get the images from plist and show it on the imageview? my plist structure is (category)array--> sub category(dictionary) which can be more than one--> images (array) and scroll in horizontally. please suggest some answer as soon as possible.
- (void)getImage
{
NSArray *imageArray = [NSarray arrayWithContentsOfFile:plistPath];
for(NSDictionary *dict in imageArray)
{
UIImage *image = [UIImage imageNamed:[dict objectForKey:imageKey]];
}
}
精彩评论