Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/42.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 如何为iPad配置UIImage视图_Iphone_Objective C - Fatal编程技术网

Iphone 如何为iPad配置UIImage视图

Iphone 如何为iPad配置UIImage视图,iphone,objective-c,Iphone,Objective C,我为iPhone做了一个包含UIImage的项目。现在我必须实施同样的项目 对于iPad。那个么我可以使用的图像的大小是多少呢。另外,请告诉我是否还有其他类似于iPhone中的CGRect这样的页面大小代码。还提供了一些代码来调整从横向到纵向的图像 谢谢iPad屏幕分辨率:1024*768 获取全屏画面:CGRect mainFrame=[[UIScreen mainScreen]applicationFrame] 要检查方向,请查看这些功能: - (BOOL)shouldAutorotateT

我为iPhone做了一个包含UIImage的项目。现在我必须实施同样的项目 对于iPad。那个么我可以使用的图像的大小是多少呢。另外,请告诉我是否还有其他类似于iPhone中的CGRect这样的页面大小代码。还提供了一些代码来调整从横向到纵向的图像


谢谢

iPad屏幕分辨率:1024*768

获取全屏画面:CGRect mainFrame=[[UIScreen mainScreen]applicationFrame]

要检查方向,请查看这些功能:

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation

因为我是新来的,所以在北京我不懂。但现在我明白了