[swift-users] Subview does not report frame size

Martin Romañuk mromanuk at me.com
Mon Aug 29 11:10:11 CDT 2016


In Xcode 8 beta 6, asking for frame or bounds of a subview, both are reported as (0,0,1000,1000) which is incorrect.
The subview was added to a UIViewController view in storyboard and it is contrained to 240 points of width.

This works fine in Xcode 7, maybe this is not swift related, more like UIKit.

Regards,
– Martin –



More information about the swift-users mailing list