UIToolbar *tb=[[UIToolbar alloc]initWithFrame:CGRectMake(0, 420, 320, 44)];
[self.view addSubview:tb];
[[UIToolbar appearance] setBackgroundImage:[UIImage imageNamed:@"manoj.png"] forToolbarPosition:UIToolbarPositionAny/Bottom barMetrics:UIBarMetricsDefault];
UIImageView *img11=[[UIImageView alloc]initWithFrame:CGRectMake(200, 5, 100, 35)];
img11.backgroundColor=[UIColor clearColor];
img11.image=[UIImage imageNamed:@"kanishka.png"];
[tb addSubview:img11];
No comments:
Post a Comment