简体   繁体   中英

Resizing text view by dragging its corners (Swift)

I am new to IOS and currently working for frames and photo-editing app.I am struggling with how to change the size of the UITextView by dragging its corners in swift? It is same as what we see on photo-editing apps for adding text over frames or pictures and resizing/positioning it according to our will. Any help would be much appreciated!!

I'm pretty sure there is no built-in support for that in UIKit.

To build your own custom solution check this out: How to resize UIView by dragging from its edges?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM