开发者

Display an image that's stored locally

I'm using the following code from Three20 to display a photo/image gallery. Can anyone help with changing the code to display an image that's locally stored on the phone instead of on a web server?

[[[MockPhoto alloc]
  initWithURL:@"http://farm4.static.flickr.com/3444/3223645618_13fe36887a_o.jpg"
  smallURL:@"http://farm4.static.flickr.com/3444/3223645618_f5e2fa7fea_t.jpg"
  size:CGSizeMake(320, 480)
  caption:@"This is a caption."] autoreleas开发者_StackOverflow中文版e],


you can make a data base table on which you store the image after been changed to an NSData object

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜