macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

widthForSegmentAtIndex:

指定した番号の項目の幅を取得します。
-(CGFloat)widthForSegmentAtIndex:(NSUInteger)segment

解説

返り値

( CGFloat )

引数

( NSUInteger )segment

クラス

UISegmentedControl

Instance Methods

使用可能

iPhone2.0

参照

例文