开发者

Simulating zoomToRect with a plain uiview

开发者 https://www.devze.com 2023-04-10 08:49 出处:网络
Just wondering if anyone knows a good way to simulate UIScrollView\'s zoomToRect method but with an UIView. Using a CGAffineTransform to scale is working well but I still can\'t figure out how to zoom

Just wondering if anyone knows a good way to simulate UIScrollView's zoomToRect method but with an UIView. Using a CGAffineTransform to scale is working well but I still can't figure out how to zoom to a specific rectangle. Any clues out there开发者_如何学C?

0

精彩评论

暂无评论...
验证码 换一张
取 消