Get UIView runtime dimensions

When I set my UIView in the interface builder to equal the width of the superview, it sets it to 600.

When I launch my application and print out the width of the UIView it says 600.

The screen width is only 320.

How can I get UIView as screen width?



source to share

All Articles