Xcode iOS 照片库应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11073898/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode iOS Photo Gallery Application
提问by user1462238
I am relatively new to Xcode and am trying to create a simple application.
我对 Xcode 比较陌生,正在尝试创建一个简单的应用程序。
I want to create a landing screen which looks very similar to that of the "Photos" app landing screen. It has all of the images laid out in thumbnails, when you click one, it grows to fullscreen. You can also scroll through the images, save to camera roll and so on.
我想创建一个与“照片”应用程序登陆屏幕非常相似的登陆屏幕。它的所有图像都以缩略图形式排列,当您单击其中一个时,它会变成全屏。您还可以滚动浏览图像、保存到相机胶卷等。
Can anyone offer me any help or advice?
任何人都可以给我任何帮助或建议吗?
回答by MonkeyBonkey
Nimbus is very good as well and more lightweight than three20. http://nimbuskit.info/
Nimbus 也非常好,比three20 更轻巧。 http://nimbuskit.info/
I think their sample projects have an example that does almost just that.
我认为他们的示例项目有一个几乎可以做到这一点的示例。
https://github.com/jverkoey/nimbus/tree/master/examples/photos/NetworkPhotoAlbums
https://github.com/jverkoey/nimbus/tree/master/examples/photos/NetworkPhotoAlbums
回答by Phillip
Three20is the most popular.
Three20是最受欢迎的。
A valid alternative is PhotoViewer , and you can read more about how the code works here.
一个有效的替代方法是PhotoViewer,您可以在此处阅读有关代码如何工作的更多信息。
Hereis another cool Photo Gallery, but is paid.
这是另一个很酷的照片库,但需要付费。