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.
私のUIButtonのテキストを取得するにはどうすればよいですか
-(IBAction)clicked:(id)sender
方法?
ありがとう
これはどうですか:
- (IBAction)clicked:(id)sender { UIButton *button = (UIButton *)sender; NSString *buttonTitle = button.currentTitle; }