0
ユーザーがクリックしたボタンを確認する最も簡単な方法は何ですか?ユーザーがボタンをクリックしたかどうかはどのようにわかりますか?
if((themeSeclection.highlighted = YES)){
informationView.text [email protected]"This is test";
}
if((caputreImage.highlighted = YES)){
informationView.text [email protected]"This is another test";
}
if((switchCamera.highlighted = YES)){
informationView.text [email protected]"Test 3";
}
ボタンごとに異なるアクションセレクタを持つか、押されたボタンを含むアクションに渡される 'sender'パラメータを参照してください – dan
これらのボタンに対して定義されたアクションメソッドが必要です。 –
なぜこれが投票されたのですか? –