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;