In Interface Builder when I look at the size inspector for the view, it's showing 320x416 and it's grayed out so I can't change it. How can this be made editable?
If you want to get the view's size: float viewWidth = view. Frame. Width; float viewHeight = view.
Change the UIView
's "Size" in the "Simulated Metrics" area in the inspector to "Freeform". Then you can change the Width
and Height
in "View" area in the inspector.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With