How to add a Boundary outline in UIView of Iphone.Please Read Description -
I want to create a rectangular border and want to insert a UITQview and two buttons in that rectangle. If I add a subview from the rectangle UIView square I am unable to interact with the controls in the rectangle area which I put in the subview from the interface builder.
I'm attaching a screen for this
In this image I have to make a rectangle and have to include a text view and two Ui buttons. If I am making the rectangle from the UIView and adding it to the view controller, the interface builder does not respond to the controls added in this subview. So I have the program to add these controls, which make this task very difficult .
Please provide me with a solution to make the boundary of the rectangle and add control.
Just insert a control in a container UIView and borderWidth
and BorderColor
Set the properties of the layers of the container view.
Comments
Post a Comment