Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Set the UITextView cursor to start from the starting position

Shulou Source: shulou.com Published: 2022-06-01 06:00:27 10月02日 Update

First, when I first started using it, the UITextView I loaded was always like this:

When I set this property in ViewController: new waterway training

Self.automaticallyAdjustsScrollViewInsets = NO

Into what we need:

This property is described in the official Doc to set a Bool value to indicate whether the view controller should automatically adjust its scrolling view insertion. When the setting is not inserted, it starts from the starting position. I hope I can help you all.

Tags: Properties situation time view location start official indication controller waterway center training help control adjustment cursor Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info vpn Shulou Technology Microsoft Shulou Information