ios - How to change the starting cursor position inside UITextView -


i have uitextview become first responder on viewload. want change position of cursor of uitextview @ position in x first 2 line only.

maybe use uitextkit (a tutorial).

for example have rounded text can use like:

uibezierpath* exclusionpath = [uibezierpath bezierpathwithovalinrect:yourtextview.bounds]; exclusionpath = [exclusionpath bezierpathbyreversingpath]; yourtextview.textcontainer.exclusionpaths = @[exclusionpath]; 

Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -