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.
ボタンを使用してボタンを無効にすると、Button.enabled = NO;フェードアウトします。
Button.enabled = NO;
それを防ぐことは可能ですか?
ボタンの機能を無効にしたいが、見た目は同じにしたい。
使ってみて
[Button setUserInteractionEnabled:NO];
それがあなたを助けることを願っています!
これを使用して、ユーザーがボタンを操作できないようにすることができます
yourButton.userInteractionEnabled = NO;