Differences between iPad development and iPhone

Source: Internet
Author: User

1. First, we will make some comparisons from the officially released sdks.


IOS 3.2 API diffs document that lists new and changed

Http://developer.apple.com/library/ios/#releasenotes/General/iPhone32APIDiffs/index.html

 

 

Through the above connection, we can see that ios3.2 adds some new classes on the uikit, such as split view and popover, and supports custom fonts and new gestures.

 

 

2. New UI elements and user habits

1. Split view: You can use the iPad to provide unique elements for displaying multiple views at the same time.

 

2. popover: only provided on the iPad is used to temporarily display additional information, control (controls), or select relevant content on the main view.

3. Results list button: You can use the buttons provided by the system to display the search results on the search bar.

 

4. Modal views have new presentation styles: You can use styles such as full screen, partial screen, and form a modal interface to better adapt to user experience and visual design.

 

5. toolbars can be in additional locations: you can add a toolbar to the top or bottom of the attempt, or even to the split view or popview.

 

6. the edit menu can display custom items: You can provide menu items to add or replace standard cut, copy, paste, select, and all commands.

 

7. The keyboard view can be customized: IOS 3.2 allows you to design a custom input view to replace the Screen Keyboard provided by the system. If you provide a custom input view, make sure that its functions are obvious to users.

 

8. The keyboard view can include custom input accessories.

 

9. Custom text views can support text in multiple styles and offer advanced editing features. You can provide text processing capabilities, spell checking, and automatic text input. Spelling correction-uitextchecker

 

Http://developer.apple.com/library/ios/#documentation/General/Conceptual/iPadHIG/Introduction/Introduction.html%23

The above link isIPad User Interface Guide

 

Http://developer.apple.com/library/ios/#documentation/General/Conceptual/iPadProgrammingGuide/Introduction/Introduction.html%23/

The above link isIPadProgramDevelopment Guide


 

3. Gesture Recognition-uigesturerecognizer

In addition to the traditional click, movement, and other general finger movements, the new SDK will allow you to design techniques and hand-written programs, and you can also use them in security identification or games, use different books to produce different functions.

 

4. core text

Used to display different fonts and text styles

 

5. Text animation-effect catextlayer

 

6. Homemade fonts-uiappfonts

We always feel that there are not many fonts available for iPhone Chinese fonts. Now we can use uiappfonts to register your fonts as system fonts and use them in programs.

 

7. calayer supports shadow.

You can use the shadowopacity, sha-dow-radius, shadowoffset, sha-dowcolor, and shadowpath functions to shadow your display elements.

 

8. Play a video-mpmovieplayercon-troller

Now there is a new function mpmovieplayercontroller for playing a video. programmers may not necessarily play the video in full screen mode. Now the program can customize the size, position, or even button. It inherits the mpmovieplayerviewcontroller.

 

9. pdf file Printing

If you want to store files in a program as PDF files, you can use the following new features to achieve uigraphi-csbegin1_contexttofile, response, uigraphicsbeginpdfpage, response, and uigraphicsend1_context.

 

6-9 point reference http://www.programmer.com.cn/3349/

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.