V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
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

iOS 11 的模拟器是不是有 bug?

  •  
  •   xi_lin · 2017-09-13 13:22:52 +08:00 · 4560 次点击
    这是一个创建于 2388 天前的主题,其中的信息可能已经有所发展或是发生改变。

    这个 section 之间的间距是系统 bug 吧?

    5 条回复    2017-09-14 10:14:05 +08:00
    clijiac
        1
    clijiac  
       2017-09-13 13:58:25 +08:00
    我升了 gm 版也是这样的 7p
    LeeSeoung
        2
    LeeSeoung  
       2017-09-13 14:58:17 +08:00
    这不就是 iphone8 跟 X
    Vitta
        3
    Vitta  
       2017-09-13 15:02:14 +08:00
    我下了 GM 版本直接一直 loading, 然后模拟器卡死
    eternityz
        4
    eternityz  
       2017-09-14 08:57:43 +08:00
    不是 bug, numberOfRowsInSection 返回 0 就是这种效果。真机上这个 section 是飞行模式、wifi 等开关
    xi_lin
        5
    xi_lin  
    OP
       2017-09-14 10:14:05 +08:00
    @eternityz 我试了下,现在 tableView:heightForHeaderInSection: 方法里 return CGFLOAT_MIN 已经不够了,必须实现一下 tableView:viewForHeaderInSection:,简单返回一个[UIView new]也行,样式才会正常。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4871 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 09:54 · PVG 17:54 · LAX 02:54 · JFK 05:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.