I want my UITextView to scroll up when a view appears.
UITextView*note; [note setContentOffset:CGPointZero animated:YES];
but could not find CGPointZero or CGPoint.Zero in Xamarin.iOS. So what is its equivalent?
It CGPoint.Emptycan be seen here:
CGPoint.Empty
https://developer.xamarin.com/api/field/CoreGraphics.CGPoint.Empty/
This is CGPoint.Empty and you can set
UITextView note = new UITextView(); note.SetContentOffset(CoreGraphics.CGPoint.Empty, true);
Source: https://habr.com/ru/post/1653578/More articles:How to send passwords from client to server - registrationExecuting a custom path in bash - linuxRxjs the number of observed subscriptions - angularNGINX + phpFPM load balancer and sessions - phpAssigning Operators to R - functionHow to create an empty variable that can take the type of a class value - iosReact Native Listview grid layout with Listview elements that are aligned and added independently - react-nativeUWP Programmatically change the background image of a XAML page C # - c #How to multithread with pThreads in PHP7? workers, pool, etc. - multithreadingCorrect centering of w / element: hover over its width - htmlAll Articles