我有一个带有表视图的视图控制器.每个单元格都有一个带五星评级系统的自定义视图.我在视图的类中处理视图的touchesBegan
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [touches anyObject];
CGPoint touchLocation = [touch locationInView:self];
[self handleTouchAtLocation:touchLocation];
}
Run Code Online (Sandbox Code Playgroud)
如何获取indexPath以了解哪个单元用户投票?我没有按钮我有uiview所以我不能使用以下内容:
CGPoint buttonPosition = [sender convertPoint:CGPointZero toView:self.tableView];
NSIndexPath *indexPath = [self.tableView indexPathForRowAtPoint:buttonPosition];
Run Code Online (Sandbox Code Playgroud) 我正在尝试向Itunes提交一个与XCode连接的应用程序.我明白了:
您的应用包含非公共API使用情况.请检查错误,更正错误并重新提交申请.该应用程序引用Payload/myapp.app/setSoundsEnabled中的非公共选择器:
我该怎么办?