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.
UITextFieldでカーソルの点滅を無効にする方法はありますか? おそらくUITextInputプロトコルをいじっていますか?助けてくれてありがとう!
これは古く、新しい解決策を見つけました。しかし、あなたが使用できるアイデアがあります。カーソルは画像アニメーションなので、そのビューを見つけることができます。
すべてのビューを考えて実行します
for (id subview in myTextField.subviews) { if (is cursor view){ subview.hidden = TRUE; } }
これでうまくいくかもしれませんが、試行錯誤です。