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 –
saagarjha
(Saagar Jha)
2
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@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@swift.org
https://lists.swift.org/mailman/listinfo/swift-users