我的应用程序已经在AppStore中运行了几个月,并且始终只在iPhone上运行.我最近提交了一个被拒绝的更新,因为该应用程序无法在iPad上运行.被拒绝的确切原因是:
拒绝原因:2.10:iPhone应用程序也必须在iPad上运行,无需修改,iPhone分辨率和2X iPhone 3GS分辨率
我需要在Xcode中做什么才能让我的应用程序在带有2X图标的小盒子中的iPad上运行?
任何提示说明都将受到大力赞赏......
编辑 这是我的info.plist.这是我的第一个应用程序,我认为我最初选择选择"通用"进行设置.现在有一个简单的方法让我纠正这个问题吗?

我有一个TabBar应用程序,其中一个选项卡嵌入在NavigationController中.此特定视图是一个包含文本字段的表单.我想让TPKeyboardAvoidingScrollView在键盘进入视图时向上移动UITextFields.我已按照Github页面上的说明进行操作,但它根本不起作用.
这是我按照说明做的:
这不起作用......所以看一下示例代码,我尝试添加一些东西:
在我的视图控制器.h文件中我添加了:
@class TPKeyboardAvoidingScrollView;
并链接ScrollView导致添加这行代码:
@property(弱,非原子)IBOutlet TPKeyboardAvoidingScrollView*scrollView;
将TPKeyboardAvoidingScrollView.h导入到我的控制器.m文件中.
但是,其他人似乎赞不绝口的代码对我来说并不适用.
任何人都可以指出我的无能吗?在此先感谢您提供的任何帮助......
我想在我使用Core Plot生成的饼图中使用纯黑色背景.我有很好的图表渲染,但标题是默认的blackColor,很难在黑色背景上看到.我知道它正在显示,因为当我改变主题时,我可以看到它是黑色的.任何人都可以像我对数据标签那样告诉我如何更改文本颜色?
这是我的代码片段......
graph = [[CPTXYGraph alloc] initWithFrame:self.view.bounds];
CPTGraphHostingView *hostingView = (CPTGraphHostingView*)self.view;
hostingView.hostedGraph = graph;
CPTPieChart *pieChart = [[CPTPieChart alloc] init];
pieChart.dataSource = self;
pieChart.pieRadius = 80.0;
pieChart.identifier = @"PieChart1";
pieChart.startAngle = M_PI_4;
pieChart.sliceDirection = CPTPieDirectionCounterClockwise;
[graph addPlot:pieChart];
graph.title = @"Proportion of Sessions per Sport";
}
-(CPTLayer *)dataLabelForPlot:(CPTPlot *)plot recordIndex:(NSUInteger)index {
static CPTMutableTextStyle *whiteText = nil;
if (!whiteText) {
whiteText = [[CPTMutableTextStyle alloc] init];
whiteText.color = [CPTColor whiteColor];
}
CPTLayer *layer = [[CPTLayer alloc] initWithFrame:CGRectMake(50, 50, 100, 20)];
CPTTextLayer *newLayer …Run Code Online (Sandbox Code Playgroud) iphone ×3
ios ×2
app-store ×1
charts ×1
graph ×1
objective-c ×1
pie-chart ×1
uiscrollview ×1
xcode ×1