且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS UIView旋转后获取框架

更新时间:2023-02-02 15:21:27

只需回答路易斯·奥斯卡(Luis Oscar)所说的话,问题就会显示为已回答. 解决方案是访问"bounds"属性,而不是"frame".

Just going to answer with what Luis Oscar said so that the question shows up as answered. The solution is to access the "bounds" property rather than "frame".