UIView Position
How to detect the position of a ui开发者_如何学JAVAview after applying the CGAffineTransformRotate to it?
You can set view's background color to check actually where view is going after transformation. If view will be out of display area then this trick will not help you. otherwise you can calculate view's new origin using below function.
newPoint = CGPointApplyAffineTransform(initialPoint, customTransform);
pass view's origin in initial point and your transform in customtrasform
精彩评论