[swift-users] Subview does not report frame size

Saagar Jha saagar at saagarjha.com
Mon Aug 29 11:47:12 CDT 2016


Bugs with Apple’s frameworks (such as UIKit) are generally better filed as a radar.

Saagar Jha



> On Aug 29, 2016, at 09:10, Martin Romañuk via swift-users <swift-users at swift.org> wrote:
> 
> 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 –
> 
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160829/679b1138/attachment.html>


More information about the swift-users mailing list