开发者

Recreate scope bar of UISearchBar

开发者 https://www.devze.com 2022-12-19 15:58 出处:网络
I want to recreate the scope bar of a UISearchBar, just for use as tabs. I\'d like to adopt the UISearchBar scope bar\'s style.

I want to recreate the scope bar of a UISearchBar, just for use as tabs. I'd like to adopt the UISearchBar scope bar's style.

I've t开发者_开发技巧hought about Quartz 2D to draw these tabs in combination with UIControl for managing the different states of the tabs.

What are you thinking of?


Yes, you may certainly do this using Quartz 2D and handling the related events. However, you may want to take a look at three20 ready made tabs, they may suit your needs. Download the code from

http://github.com/facebook/three20

and take a look at the TTCatalog example.

0

精彩评论

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

关注公众号