[英]Make iphone app ipad compatible
I have an iPhone/iPod app that I hired a contractor to make. 我有聘请承包商制作的iPhone / iPod应用程序。 Now I am asking same contractor to support iPad, and the contractor is quoting a ridiculously high price (the BD guy is).
现在,我要同一承包商支持iPad,而该承包商的报价却高得离谱(BD家伙就是这样)。 I think they know that since they have developed the app, they have some leverage and want to maximize their profit.
我认为他们知道,因为他们已经开发了该应用程序,所以他们具有一定的杠杆作用,并希望最大程度地提高利润。
Some questions: 一些问题:
This certainly makes me think twice about using contractors in the future. 这无疑使我以后考虑使用承包商。
This really depends on the app but there are some differences for iphone and ipad. 这确实取决于应用程序,但是iphone和ipad有所不同。
Yes, it is mostly an UI job, and depending on screen content, porting one screen can be trivial (just checking if the autoresize functions do their job right), or though - making one from scratch. 是的,这主要是一项UI工作,根据屏幕内容的不同,移植一个屏幕可能是微不足道的(只需检查自动调整大小功能是否能正确完成其工作即可),或者从头开始制作一个。 If your application has lots of complicated screens, I get why the price may be high.
如果您的应用程序有很多复杂的屏幕,我就会明白为什么价格会很高。
Also - there are some differences in what controllers are available on each device, mostly the popovers or action sheets - that may require different code for each device. 此外-每个设备上可用的控制器(主要是弹出窗口或操作表)上也存在一些差异-可能需要为每个设备使用不同的代码。
As for the graphics - the 2x resources are actually for the retina capable devices (4th and 5th gen) - most people use them for the iPad too, but as the screen dimensions are not exactly the same, they get warped slightly. 至于图形-2x资源实际上是用于具有视网膜功能的设备(第4代和第5代)-大多数人也将它们用于iPad,但由于屏幕尺寸并不完全相同,因此会略微变形。 In most cases thats ok, but for really high quality, a separate set of graphics may be required.
在大多数情况下都可以,但要获得真正的高质量,可能需要单独的一组图形。
Take these as generic answers, the complexity of the actual app may affect these answers quite a bit; 将这些作为通用答案,实际应用的复杂性可能会相当大地影响这些答案。
1) If the app isn't using any specific functionality on the iPhone that isn't always available on the iPad (GPS for example, or specific camera resolutions for image processing), then yes, it's mostly a UI job. 1)如果应用程序未使用iPad上并不总是可用的iPhone上的任何特定功能(例如GPS,或用于图像处理的特定相机分辨率),那么是的,这主要是UI工作。 That doesn't mean it's necessarily quick and easy, you may want to change the layout radically for the iPad (that, of course, is up to you though)
这并不意味着它一定是快速简便的,您可能想要从根本上改变iPad的布局(当然,这取决于您)
2) Most code except UI possibly related code mentioned above should not need much change. 2) 除上面提到的UI可能相关的代码外,大多数代码都不需要太多更改。 Exceptions if any are mostly related to different hardware on different models and depends on the complexity of the application.
异常(如果有的话)主要与不同型号的不同硬件有关,并取决于应用程序的复杂性。
3) 2x images are not for iPad, they're for the retina display on iPhone4 and later. 3)2x图像不适用于iPad,而是用于iPhone4及更高版本的视网膜显示屏。
4) Almost impossible to answer without seeing the code or even the app, sorry. 4)对不起,如果没有看到代码甚至是应用程序,几乎不可能回答。 If it's a fairly simple application, everything needed should be contained in the XCode project.
如果它是一个非常简单的应用程序,则所需的所有内容都应包含在XCode项目中。
5) Up to you, if you want a quick "fix" you may want to resize the 2x images from retina resolution to iPad resolution in Photoshop and use anti aliasing to make them look ok. 5)由您决定,如果需要快速的“修复”,则可能需要在Photoshop中将2x图像从视网膜分辨率调整为iPad分辨率,并使用抗锯齿功能使它们看起来不错。 Your judgement call though.
不过您的判断力很高。 Just check that your deal with the contractor does not give him all the rights to the artwork or you may get into trouble changing/reusing it.
只需检查您与承包商的交易未授予他对艺术品的所有权利,否则您可能会难以更改/重复使用艺术品。
Well here are some answer from my experience: 好吧,这是根据我的经验得出的一些答案:
UIImagePickerViewController
then you need to change the way it is displayed. UIImagePickerViewController
东西,那么大多数iPhone代码都无法在iPad上正常运行,那么您需要更改其显示方式。 Just keep in mind that you just can scale up most applications and expect them to become fully excepted by users. 请记住,您可以扩展大多数应用程序,并期望它们被用户完全排除。
First off, I have well over a decade as a professional software engineer working for many clients both small and blue-chip, with broad experience of a variety languages/devices. 首先,我作为专业软件工程师已有十多年的经验,为许多小型和蓝筹客户服务,并具有多种语言/设备的丰富经验。 With that said:
照这样说:
Please remember that the ipad version will need testing on ipad 1, ipad 2 and in a couple of weeks time on an ipad3. 请记住,ipad版本需要在ipad 1,ipad 2和ipad3上进行测试,并且需要几周的时间。 Testing takes time.
测试需要时间。 The new version will also need to be tested again on all iphones too.
新版本也将需要在所有iphone上再次进行测试。
Also, you mention that this app is a game. 另外,您提到此应用是游戏。 The original code might have been coded in such a way as assuming certain screen resolution, and maybe even have hard-coded values throughout the code relating to screen positions etc. Particularly if the coder was not aware of a future ipad requirement.
原始代码可能已经以假定某种屏幕分辨率的方式进行了编码,甚至可能在整个代码中都具有与屏幕位置等有关的硬编码值。特别是如果编码器不知道将来的ipad要求。 Also supporting ipad 3 might not be an insignificant task if it has x2 graphics depending upon original code and the game engine used (if there is one).
如果支持ipad 3具有x2图形(取决于原始代码和所使用的游戏引擎)(如果有的话),那么支持ipad 3可能也不是一件微不足道的任务。
Some apps will cost the same to create an ipad version as the original iphone app. 某些应用程序的创建ipad版本所需的成本与原始iphone应用程序相同。
If your original agreement didn't include IPR over the source you might have difficulty getting it. 如果您的原始协议未在源头上包含IPR,您可能会很难获得它。 Some agencies and contractors default to providing source to clients, others charge extra for provision of the source.
一些代理商和承包商默认不向客户提供货源,另一些机构和承包商则收取额外的货源费用。
Lastly, the contractor might have originally coded the iphone app at a loss, ie they might have quoted you and been paid for 3 days work when they actually spent 10 days on it. 最后,承包商最初可能会无所适从地为iphone应用编写代码,即他们可能已经报价给您,并在实际花费10天的时间里得到3天的工作报酬。 In which case they might be assuming the worst for the ipad version too.
在这种情况下,他们可能也会为ipad版本承担最差的责任。
There are a lot of questions to ask and be answered before you can say they are "trying to rob". 在您可以说他们“试图抢劫”之前,有很多问题要问和回答。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.