OGeek|极客世界-中国程序员成长平台

标题: ios - Apple 会拒绝我使用此代码的申请吗? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 07:42
标题: ios - Apple 会拒绝我使用此代码的申请吗?

我想知道如果我使用下面提供的代码,我的应用会被苹果拒绝吗?我有违反什么吗?代码在 AppDelegate.m 中

- (UIStoryboard *)grabStoryboard {

UIStoryboard *storyboard;

// detect the height of our screen
int height = [UIScreen mainScreen].bounds.size.height;

if (height == 480) {
    storyboard = [UIStoryboard storyboardWithName"Main3.5" bundle:nil];
} else if (height == 568) {
    storyboard = [UIStoryboard storyboardWithName"Main4.0" bundle:nil];
}else {
    storyboard = [UIStoryboard storyboardWithName"Main7.0" bundle:nil];
}

return storyboard;
}



Best Answer-推荐答案


我没有看到任何违反 Apple 条款的内容。但是,重要的是您知道 Apple 看不到代码。他们的条款所依据的是应用程序的性能和内容。您的应用可能会被拒绝,但据我所知,您对此没有什么可担心的。

关于ios - Apple 会拒绝我使用此代码的申请吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30586675/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4