I want my UITextView to scroll to the top when the View appears.
UITextView*note;
[note setContentOffset:CGPointZero animated:YES];
but could't find CGPointZero or CGPoint.Zero in Xamarin.iOS. So what is the equivalent of it?
It's CGPoint.Empty
you can see it here:
https://developer.xamarin.com/api/field/CoreGraphics.CGPoint.Empty/
It is CGPoint.Empty and you can set
UITextView note = new UITextView();
note.SetContentOffset(CoreGraphics.CGPoint.Empty, true);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With