旋转后如何获取 UIImageView 右上角的坐标?
旋转后,我将如何获取 uiimageview 右上角的坐标?
How would I go about getting the coordinate for the top right corner of a uiimageview after it's been rotated?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现了如何做我正在做的事情,除了它并不完全是问题的完整解决方案,它是我的问题的解决方案。我所要做的就是将要旋转的图像视图右上角的图像视图添加为旋转图像的子视图,并移动偏移量到角落。
I found out how to do what I am doing except it is not exactly the complete solution to the QUESTION it is the solution to my problem. All I had to do was the image view I wanted on the top right corner of the image view being rotated had to be added as a subview of the image rotated and moved by an offset to be at the corner.