サブクラスUIButton化し、そのbuttonWithType:メソッドを使用してを作成した場合、またはサブクラスインスタンスbuttonが返されますか?UIButton
例えば:
@interface MyButton : UIButton
@end
MyButton *button = [MyButton buttonWithType:UIButtonTypeCustom];
またはalloc、initWithFrame代わりに使用する必要がありますか?
ありがとう