开发者

How can I add the Three20 photo gallery to my tab bar iphone application?

I am using an Tabbar based iPhone application, where I would like to implement a photo gallery with Three20. After hours of trying I was able to get this tutorial working (http://mobile.tutsplus.com/tutorials/iphone/iphone-photo-gallery-three20/), everything just works fine.

Now I want to add this photo gallery to my tab bar based application. I have been searching the whole internet but I did not come up with a solution. My tabbar application is built up in Interface Builder. The whole Three20 stuff is not based on Interface Builder. I am not sure how to add this gallery to my tabbar. Yes, I have checked the built in example "TTNavigationDemo" --> the problem is that they are not using the Interface Build开发者_JS百科er at all and I need to mix it up somehow.

No navigation controller or anything like this is additionally needed. Does anyone have some code for me to help me fix this? I really appreciate your help, thanks guys!

cheers, dooonot


It seems that you have to first create your tab bar controller programmatically, then port TTPhotoViewController to one of your tab bar items. Here is a great post on this topic: How to add a Tab Bar to an existing view controller, without XIB

And then feel free to port other nib-based view controllers to the rest of your tab bar items.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜