开发者

Using Three20 ThumbViewer with AssetsLibrary framework

I'm trying to use TTThumbsViewController in conjunction with the AssetsLibrary framework to present a photo gallery similar to the one built into the iPhone.

I'm trying by implementing a Photo class which implementes NSObject<TTPhoto> and wrapping the appropriate properties, but getting hung开发者_开发技巧 up on size, which is supposed to be a CGSize.

Short question:

How do I find the dimensions of an ALAsset as a CGSize?

Long question:

Am I going down the right road? Is there an easier way to do this?


I would say that the Three20 project, while excellent adds a lot of overhead to your project. If you just want a better ImagePicker, you might take a look at this project:

https://github.com/guicocoa/photopicker-ios#readme

Cheers,

Hendrik

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜