Question: Suppose I create a cookie that expires at creation time the following example I use yii

```
            $data_cookie = new CHttpCookie('_MD2', $data);
            $data_cookie->expire = time();
            Yii::app()->request->cookies['_MD2'] = $data_cookie;

```

now I tried to get it's value using the following code

```
yii::app()->request->cookies['_MD2']->value

```

but nothing I obtain
when i change it's expiry date i gain it's value   

so is that true not to obtain a cookie value when it expires even if browser is not closed
?

**note** : I tested it in mozilla latest release

Answer: 
Use the following code in `ViewDidLoad()` method, and make sure to include 

```
[yourTextView setUserInteractionEnabled:YES] 

UITapGestureRecognizer *gestureRecognizer = [[UITapGestureRecognizer alloc]initWithTarget:self action:SEL(textViewTapped:)];

 [gestureRecognizer setNumberOfTapsRequired:1];  
 [yourTextView addGestureRecognizer:gestureRecognizer];`

```
You should implement the following method on your gesture recognizer delegate:

```
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer*)otherGestureRecognizer {
    return YES;  
}

```