[ad_1]
I am having quite a lot of hassle making an attempt to regulate the scroll place of a customized iOS Xamarin Editor (UITextView) enclosed in a customized ScrollView (UIScrollView).
The smooth keyboard will throw a number of scroll messages at these controls which lead to an enormous quantity of unpredictable behaviour.
I’ve learn some good discussions about tips on how to decouple the smooth keyboard and editor controls however the context is for native iPhone improvement.
Among the options contain subclassing UITextView and UIScrollView.
My drawback is, whereas I can subclass UIScrollView, as a result of ScrollViewRenderer instantly descends from UIScrollView, I am unable to accomplish that for UITextView, as a result of EditorRenderer solely incorporates a UITextView management.
My query is: is it doable to write down an Editor renderer the place I can use my very own subclassed model of UITextView? The subclass would permit me to override quite a lot of the behaviour that’s inflicting me so many issues.
[ad_2]
