IOS development is to develop an iphone and an ipad respectively? Is it better to develop a Universal ?, IPhone iPad

Source: Internet
Author: User

IOS development is to develop an iphone and an ipad respectively? Is it better to develop a Universal ?, IPhone iPad

Due to work requirements recently, the development cycle is short.

A product needs to be developed to run on the iphone and ipad platforms


Advantages of one version

1. An installation package for convenient management and distribution

2. You have downloaded the iphone. If you have an ipad, it will be automatically downloaded.

3. Review once passed, saving time for release


Disadvantages of one version

1. The installation package will be large. Put the two sets of resources into one installation package.

2. Various device judgments in the code will lead to code confusion (but this is artificially degraded)

3. The experience of the ipad version is relatively poor (as long as the product is acceptable)



Advantages of two versions

1. It can be designed separately. After all, the ipad can do something that the iphone cannot do (the experience will be much better)

2. The installation package will be small.

3. The data layer/logic layer share the UI separately.


Disadvantages of two versions

1. Separate management and distribution require more human support

2. Audit needs to be separated








What is the difference between ios development (Applications on Apple computers) and iPhone and ipad development?

The memory management iOS system does not support garbage collection. You need to use the memory management model to maintain, release, or automatically release objects. Compared with Macintosh computers, iOS devices have very limited memory. Therefore, you need to adjust the use of the automatic release pool to avoid creating multiple automatic release pool objects. In addition, release objects as directly as possible instead of automatically releasing objects. If you allocate many objects in a compact loop, you can either release those objects directly or create an automatic release pool at the right position in the loop code, release the automatically released object within the interval of the rule. When the loop ends, releasing it may cause a warning of insufficient memory or cause the application to be killed by the system.
 
If you want to develop iOS apps, should you first develop apps on the iphone or ipad? Or two together? How are the two together?

It can be developed together, as long as the resolution can support iphone and ipad separately.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.