I do not have much experience on this but I want to position two UIButtons inside a rectangle as in the image below. So what is the best way to do that? I do not want to draw an image of rectangle from Photoshop and import into xCode. Thank you

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could drag a UIView onto your Storyboard
and then drag your buttons onto that, so they are subviews.
The storyboard would look like:
Then you can set the background etc on the subview to visually define the rectangle