Make Label :- using this we can make label dynamically based on array value categoryAry =[[ NSArray alloc ] initWithObjects : @"Object1" , @"Object2" , @"Object3" , @"Object4" , @"Object5" , @"Object6" , @"Object7" , @"Object8" , @"Object9" , @"Object10" , nil ]; -( void )mekeAllLabelDynamicly { CGFloat startX= 50.0f ; CGFloat startY= 150.0f ; for ( int i = 0 ; i< [ categoryAry count ]; i++) { UILabel *label=[[ UILabel alloc ] init ]; label. text = [ categoryAry objectAtIndex :i]; label. tag =i; label. textColor = [ UIColor whiteColor ]; label. backgroundColor =[ UIColor clearColor ]; CGRect frame= CGRectMake (startX, startY+( 31 + 10 )*i, 100 , 31 ); [label setFrame :frame]; ...