Post

Replies

Boosts

Views

Activity

UIKit constraints not working at all in Mac Playgrounds
Hi all, I was building my playground in the Author template, until someone said this was not allowed? I ported all my code over to Mac Playgrounds but now nothing works anymore, all my constraints are completely broken.view.bounds.height is somehow smaller than view.bounds.width even though the view is in portrait? Constraining a view to the width and height of the viewcontroller view doesn't even fill more than 2/3 of the screen. What is going on here? How do I fix it? Is the author template really not allowed?
0
0
304
May ’20