Some tips for developing iOS

Source: Internet
Author: User

1. Hide the cell splitter line for the extra TableView

self.tableview.tablefooterview= [[Uiviewalloc]init];

2. Remove the returned words from the system

[[Uibarbuttonitemappearance]setbackbuttontitlepositionadjustment:uioffsetmake (0, -60) forBarMetrics: Uibarmetricsdefault];

3. Hide navigation when sliding

Self.navigationcontroller.hidesbarsonswipe=yes;

4. Page jump is hidden Tabbar

Twoviewcontroller *TWOVC = [[Twoviewcontroller alloc] init];

Twovc.hidesbottombarwhenpushed =yes;

5.ScrollView cannot slide to the top

Self.automaticallyadjustsscrollviewinsets=no;

6. button click on the Glow effect

Button.showstouchwhenhighlighted =yes;

7. Long press gesture only once

if (sender.state = = uigesturerecognizerstate)

8. Hide the status bar

-(BOOL) Prefersstatusbarhidden

{

Returnyes;

}

9. When using the zoom of view, layer.border.width with the view magnification, there will be a jagged problem.

self.layer.allowsEdgeAntialiasing = YES;

Some tips for developing iOS

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.