what UI elements to I need to create a boxed section like the related section on this page with a 3px wide border and a light grey background? UILabels and what else? are UILabels clickable?
Share
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 try a UIButton with a custom background image for a single link.
If you wanted more than one link you could use a 9 slice UIImage for the background and UIButtons for each item with no background image set?
Or a UIView for the background with the border with and color set for it’s layer if you just want a very simple rectangular grey border? i.e.
Or, you could use a UIWebView styling it with CSS with each line a href, grabbing the links in the UIWebView’s delegate with a custom URL format for each link.
Personally, I’d use the UIView’s layer borderColor properties etc to style a background and then use UIButtons for each link, then use a UIImage if I needed the background to be more complicated. I find a web view overkill for something like this.