UIButton in inside UIView not taking touch down event
===

I used UIButton inside UIView in Cocos2D game. But button is not taking touch event.

Here is my code:

    AppController *app =  (AppController*)[[UIApplication sharedApplication] delegate];    
    mParentView = [[UIView alloc] initWithFrame:scrnFrame];
    [app.navController.view addSubview:mParentView];
    
    if(!self.closeButton)
    {
            CGRect closebtnFrame = CGRectMake(445.0, 6.0, 31.0, 31.0);
            
            self.closeButton = [[UIButton alloc]initWithFrame:closebtnFrame];
            
            self.closeButton.backgroundColor = [UIColor clearColor];
            [self.closeButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal ];
            
            UIImage *buttonImageNormal = [UIImage imageNamed:closeBtnNormalImage];
            UIImage *strechableButtonImageNormal = [buttonImageNormal stretchableImageWithLeftCapWidth:12 topCapHeight:0];
            [self.closeButton setBackgroundImage:strechableButtonImageNormal forState:UIControlStateNormal];
            UIImage *buttonImagePressed = [UIImage imageNamed:closeBtnSelectedImage];
            UIImage *strechableButtonImagePressed = [buttonImagePressed stretchableImageWithLeftCapWidth:12 topCapHeight:0];
            [self.closeButton setBackgroundImage:strechableButtonImagePressed forState:UIControlStateHighlighted];
    
    
            [self.closeButton addTarget:self action:@selector(closeBtnPress:) forControlEvents:UIControlEventTouchUpInside];
            
    		//mParentView.userInteractionEnabled = YES; //tried this also..
            self.closeButton.userInteractionEnabled = YES;
            
            [mParentView addSubview:self.closeButton]; 
    
            // [app.navController.view addSubview:self.closeButton];  //this works..but I want to add that to mParentView.
    }