我做了什么 :
self.blsController = [self.storyboard instantiateViewControllerWithIdentifier:@"nextPage"];
self.blsController.view.frame= CGRectMake(self.blsController.view.frame.size.width , 0, self.blsController.view.frame.size.width, self.blsController.view.frame.size.height);
[self.blsController.view setUserInteractionEnabled:YES];
[self.view addSubview:self.blsController.view ];
我移动了父视图以显示子视图,
self.view.center = pollPoint;
但子视图没有响应点击事件
我试过了 :
[self.blsController.view setUserInteractionEnabled:YES];
在子视图控制器中添加 touchesEnded 但它们不起作用,请告诉我为什么以及如何处理。
谢谢