Learn iPhone uikit 6

Source: Internet
Author: User

LearningIPhone uikit6

1. WedWebpage display,ScalespagetofitSet propertyYesWebThe page is automatically scaled according to the screen size.

2. uiwebviewStatus Monitoring;

3. WebPage Control;

4. Display and display media dataJPEGFiles andPDFFile;

5. htmlSpecify the string;

6. Handling of link touch;

7. Javascript;

8. display table segments;

9. Table group display;

10. Using Indexes;CodeAs follows:

-(Nsarray *) sectionindextitlesfortableview :( uitableview *) tableview
{
Return familynames _;
}

11. Obtain specific units;

//Obtain a specific unit

//Append a flag to all cells in a non-segmented table

12. delete a unit;

-(Void) viewdidappear :( bool) animated

{

[Super viewdidappear: animated];

[Self. tableview setediting: Yes animated: Yes];

}

13. Insert a unit;

14. Unit Movement;

-(Void) tableview :( uitableview *) tableview moverowatindexpath :( nsindexpath *) sourceindexpath toindexpath :( nsindexpath *) destinationindexpath

{

Nsuinteger fromrow = sourceindexpath. row;

Nsuinteger torow = destinationindexpath. row;

While (fromrow <torow)

{

[Datasource _ exchangeobjectatindex: fromrow

Withobjectatindex: fromrow + 1];

Fromrow ++;

}

While (fromrow> torow)

{

[Datasource _ exchangeobjectatindex: fromrow withobjectatindex: fromrow-1];

Fromrow --;

}

}

//Set limit units//Move the limit cell to the bottom of the last cell

15Edit/Complete button appending;

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.