6-06-11 initWithFrame: UIKit UISwitch iOS2.0 -(id)initWithFrame:(CGRect)frame 解説 返り値 ( id ) 引数 ( CGRect )frame フレームワーク UIKit クラス UISwitch Instance Methods 使用可能 iPhone2.0 参照 例文