I am new in iOS and I am facing problem regarding to create UILabel dynamically. I need to change its hight and the Y position according to data from webservice. My code is like this
 NSMutableArray *remarkarray =[[NSMutableArray alloc] init];
            remarkarray=[responsedict valueForKey:@"Key"];
            NSString *RemarkString=[NSString stringWithFormat:@"%@",[remarkarray objectAtIndex:0]];
            remarklbl.text=RemarkString;
            remarklbl.numberOfLines=0;
            [remarklbl sizeToFit];
I have create UILabel like this
But its Y Position is fix. I need to create a UILabel in which I can change the height and the Y position according to text in it. Like this
Thanks in Advance!


 
     
    



 
    