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
georgetso
V2EX  ›  iDev

关于 collection view 的一个问题

  •  
  •   georgetso · Jun 3, 2015 · 2327 views
    This topic created in 4147 days ago, the information mentioned may be changed or developed.
    图片地址 http://pan.baidu.com/s/1dDheaQH
    如图,在一个viewcontroller中,有两个collection view
    第一个,红底蓝cell
    第二个,白底灰cell

    问题是,第一个collection view为什么上下各有一段空白(图中显示为蓝色上面一大截红色的)。该collection view 并没有发生drag行为。右边出现的 scroll indicator 只是为了说明另外一个怪现象:indicator的长度和位置很奇怪。
    1 replies  •  2015-06-03 12:29:48 +08:00
    anerevol
        1
    anerevol  
       Jun 3, 2015
    你设置下collection view的clipsToBounds看看。 话说表示没有弄清楚你到底想问啥
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   984 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:20 · PVG 06:20 · LAX 15:20 · JFK 18:20
    ♥ Do have faith in what you're doing.