开发者

How to load new view when TTTabItem clicked

Hi all I am trying to set up a view that lets the user scroll a TTTabStrip. This TTTabStrip contains several TTTabItems. Does anyone know how 开发者_如何学运维I can define the action, when an item is clicked? I would like to load a new view controller into the view below the TTTabStrip.

Thanks, best regards, Doonot


Every Cell in a TTTableView has a url property which you can set.

Then using TTNavigator you define to which view Controller does this url maps to.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜