問題タブ [nslayoutmanager]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
swift - Swift UITextView LayoutManager サブクラス
a をサブクラス化しようとしていUITextView
ますlayoutManager
しかし、クラッシュが発生し続けます。私が見てきた例はObjective Cにあるので、layoutManagerをどのように変更するべきか少し混乱しています
これが私のコードです...
}
使用中...
コンパイルはしますが、次の行でクラッシュします。
UITextViewのLayoutManagerをサブクラス化する正しい方法は何ですか?
ありがとう