Question: I want to increase the height of progress view in iOS 6 and below i am doing this using appearence method

```
  UIImage *progressImage = [[UIImage imageNamed:@"sliderbk-progress.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 4, 0, 5)];
[[UIProgressView appearance] setProgressImage:progressImage];

```

but now in iOS7 this code is not working i even try given below code but no use. Any help will be helpfull. Thanks

```
[[UIProgressView appearance] setFrame:CGRectMake(20, 100, 280, 100)];

```

Answer: 
Whereas others have reported that a CGAffineTransform() works as well:

```
[self.progressView setTransform:CGAffineTransformMakeScale(1.0, 3.0)];

```
Already answered here
[How to increase height of UIProgressView](https://stackoverflow.com/questions/3437564/how-to-increase-height-of-uiprogressview/21041670#21041670)

```
@implementation UIProgressView (customView)

- (CGSize)sizeThatFits:(CGSize)size 
{
   CGSize newSize = CGSizeMake(self.frame.size.width,9);
   return newSize;
}

@end

```