djay
djay

Reputation: 375

What are the dimension of View Controller in xcode?

As you can see the frame with X=0,Y=209 Width = 600 units and Height = 391 units. I want to know what is ACTUALLY type of unit they are. i.e. are they points or pixels or what exactly? This question arises from the situation that if I want to move/slide down/set a sub-View in View Controller using storyboard P pixels down from top ? than what should I set the value of y-coordinate in that picture below which have currently 209 units in that settings?

enter image description here

Upvotes: 0

Views: 228

Answers (1)

Mohamad Bachir Sidani
Mohamad Bachir Sidani

Reputation: 2099

This is in points and not pixels. And doesn't take into consideration if the device is retina supported or not.

Upvotes: 1

Related Questions