Question: How can I have the same effect in iOS `UITextView` like below image.
Blur effect from the bottom of `UITextView` 

![Gradient at the bottom of UItextView](https://i.stack.imgur.com/udcaL.png)

Thanks in Advance :)

Answer: 
Try the following: I tried the following with image but not UITextView

```
UIView *vwTest = [[UIView alloc] initWithFrame:_textView.frame];
[vwTest setBackgroundColor:[UIColor whiteColor]];
[vwTest setUserInteractionEnabled:NO];
[self.view addSubview:vwTest];

NSArray *colors = [NSArray arrayWithObjects:
                   (id)[[UIColor colorWithWhite:0 alpha:1] CGColor],
                   (id)[[UIColor colorWithWhite:0 alpha:0] CGColor],
                   nil];

CAGradientLayer *layer = [CAGradientLayer layer];
[layer setFrame:vwTest.bounds];
[layer setColors:colors];
[layer setStartPoint:CGPointMake(0.0f, 1.0f)];
[layer setEndPoint:CGPointMake(0.0f, 0.6f)];
[vwTest.layer setMask:layer];

```
Just place an UIImageView which contains a gradient image from clear to white on top of the bottom of the text view. That's the easiest way I guess.