小编Kat*_*ina的帖子

如何在单元格上获取uiview的indexPath - iOS

我有一个带有表视图的视图控制器.每个单元格都有一个带五星评级系统的自定义视图.我在视图的类中处理视图的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)

objective-c uitableview ios

4
推荐指数
1
解决办法
2520
查看次数

您的应用包含非公开API使用情况 - 提交应用

我正在尝试向Itunes提交一个与XCode连接的应用程序.我明白了:

您的应用包含非公共API使用情况.请检查错误,更正错误并重新提交申请.该应用程序引用Payload/myapp.app/setSoundsEnabled中的非公共选择器:

我该怎么办?

xcode itunesconnect submit ios

3
推荐指数
1
解决办法
5136
查看次数

标签 统计

ios ×2

itunesconnect ×1

objective-c ×1

submit ×1

uitableview ×1

xcode ×1