如果我们在点击UIImageView上浏览页面,Apple会拒绝该应用吗?

时间:2012-02-24 10:35:16

标签: iphone uiimageview navigation uitouch

我使用了4张图片并使用触摸开始方法来检测用户对特定图像的触摸。我根据触摸位置导航到4个不同的视图。苹果会批准他的设计。

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    CGPoint touchLocation = [touch locationInView:self.view];
    CGRect rectLocation1 = CGRectMake(20, 399, 72, 61);
    CGRect rectLocation2 = CGRectMake(91, 399, 72, 61);

    if (CGRectContainsPoint(rectLocation1, touchLocation)) {
    //navigation
    }

    if (CGRectContainsPoint(rectLocation2, touchLocation)) {
    //Navigation
    }
}

2 个答案:

答案 0 :(得分:1)

当然不会被拒绝。您不使用任何私有API。

查看App Store Review Guidelines

答案 1 :(得分:1)

当然不是,这没有错。什么特别的部分让你觉得它可能被拒绝?也许我们可以帮助解释为什么它不是问题。

full set of guidelines is posted here。 (需要Apple Developer登录)