Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はUISegmentedControl2つのボタンを持っています。コントロールの各ボタンに特定の色の境界線とタイトルを持たせたい。
UISegmentedControl
可能であれば、どのようにアーカイブできますか?
プロパティを使用できsegmentedControlStyleます。これにより、3 つの異なるスタイルが得られます UISegmentedControlStylePlain, UISegmentedControlStyleBordered, UISegmentedControlStyleBar。他の外観が必要な場合は、カスタム コントロールを作成する必要があります。
segmentedControlStyle
UISegmentedControlStylePlain, UISegmentedControlStyleBordered, UISegmentedControlStyleBar
ドキュメント: http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UISegmentedControl_Class/Reference/UISegmentedControl.html#//apple_ref/occ/instp/UISegmentedControl/segmentedControlStyle