开发者

show image on imageview

开发者_C百科

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]];
}
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜