How could I create this rounded rectangle as shown on the figure? Also my second question is how to get multiple lines , how to format to make it multiple lines as shown in the red rectangle? Thanks in advance!.
CGRect viewRect=CGRectMake(30,30,320,55);
UIView *myView=[[UIView alloc]initWithFrame:viewRect];
myView.backGroundColor=[UIColor whiteColor];
[self.view addSubview:myView]
UILabel *label=[[UILabel alloc]initwithFrame:CGRectMake(30,32,25,12)];
label.font=[UIFont fontWithName:"System" size:12];
label.textColor=[UIColor blackColor];
[self.view addSubview:label]

The example you provided is probably implemented as a
UITableView. The address cell has theUITableViewCellStyleValue2style, which has thetextLabelon the left (“address”) anddetailTextLabelon the right.Here’s how to format the cell:
You’ll also have to adjust the height of the cell accordingly, since it will be taller than the default.
Source: Multi-line UITableViewCell using UILabel (via a similar Stack Overflow question)