1

iPhoneアプリにサムネイルフォトギャラリーを追加します。これには、iPhoneフォトアプリのような写真ブラウザと各写真の詳細ビューが含まれます。これまでのところ、これを提供するのはThree20だけです。Three20は非常に巨大で、複雑な外観のAPIを備えているため、私が知る限り、標準のAppleスタイルのインターフェイスではありません。

私はこの投稿も見ました。iPhone用のオープンソースの写真ビューアで、他のいくつかの写真ブラウザについて言及していますが、これらにはサムネイルギャラリーが組み込まれていません。

私の質問は次のとおりです。写真ブラウザとサムネイルギャラリーライブラリの優れた組み合わせを知っている人はいますか。これは使いやすく、大きすぎず、カスタマイズも簡単です。キャッシュも重要です。

4

2 に答える 2

2

I have found an answer to my own question called KTPhotoBrowser which fits the bill exactly -- just a thumbnail gallery and photo browser. Combined with SDWebImage which handles the image cacheing it appears to be a perfect simple solution that doesn't require 2 MB of code!

Update: quick to install, works with tab bar controller (example app provided!) and works like a charm. May not have all the features of Three20 but its a lot easier to use and has a much smaller footprint. TabBarController woes made the final decision, I spent several hours trying to get Three20 photo viewer to play nice with my tab controller app -- and failed! After only a half an hour of futzing I got KTPhotoBrowser working by using their tab sample app as a reference point.

于 2012-05-10T13:13:02.033 に答える
0

私は巨大に見えることを知ってThree20いますが、それは私の観点からは最高です。私も始めるのに問題がありましたが、私はそれを成し遂げることができました。ここにstackoverflowgithubにサンプルコードがあります。それをチェックしてください、あなたはそれがまさにあなたが必要としているものであることがわかります。

于 2012-05-10T13:18:53.833 に答える