をクリックしたときにデフォルトのテキストを取得しましたが、Interface BuilderでUIButtonを作成すると、Button 1
のようなテキストが表示されます。UIButtonは、
私はアプリケーションを起動したときに、私はプログラム的にこのような何か他のものにテキストを変更します。
[email protected]"Hello";
すべては私がボタンを押すまで、それはButton 1
あるデフォルトのテキストを持ってokです。
私の目的は、テキストをプログラムで変更した場合、ボタンを押したときにデフォルトのテキスト値を取得できないということです。つまり、テキストHello
が残るはずです。どうすればいいですか?事前:)