简体   繁体   中英

How can i increase or decrease the size of any object drawn in UI View at run time?

I am creating a flowchart application where i can draw any shape, drag and position that shape anywhere in the UIView , I want to increase/decrease the size of shapes at run time. How can i increase or decrease the size of any object/shape drawn in UIView at run time?

There are pinch/zoom gestures that you can handle. You can then set the size of the view by setting it's frame property.

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