iOS 开发实用技术导航
NSHipster 中文版
› http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
› http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
› http://code.google.com/mobile/analytics/
WWDC
› https://developer.apple.com/wwdc/
Design Guides and Resources
› https://developer.apple.com/design/
Transcripts of WWDC sessions
› http://asciiwwdc.com
Cocoa with Love
› http://cocoawithlove.com/
Cocoa Dev Central
› http://cocoadevcentral.com/
NSHipster
› http://nshipster.com/
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Charles Web Debugging Proxy
› Smore
xi_lin
V2EX  ›  iDev

如何正确处理 UILabel 的默认 padding

  •  
  •   xi_lin · Dec 3, 2015 · 4164 views
    This topic created in 4000 days ago, the information mentioned may be changed or developed.

    UILabel 总是会自动添加 padding ,而在对照 UI 图设置 layout 时间距都是字到字之间的距离。如何正确的处理这些 padding 呢?最低 iOS7 以上的话有通用方式可以清除 padding 不?

    2 replies  •  2015-12-04 10:49:08 +08:00
    z1049235238
    z1049235238
    Dec 4, 2015
    1
    你可以设置内边距
    xi_lin
    xi_lin
    OP
    Dec 4, 2015
    2
    @z1049235238 怎么设呢? layoutMargin?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1872 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 05:55 · PVG 13:55 · LAX 21:55 · JFK 00:55
    ♥ Do have faith in what you're doing.