tableview Cell separator line not showing in ios development using swift 2.0. xcode 7

女生的网名这么多〃 提交于 2019-12-10 14:48:42

问题


I am trying to make an ios app which has tableview in it. When I was developing using xcode 7.0.1 it was showing tableview cells separator line Black thin line. After I updated with Xcode 7.1.1 , its not showing cell separator lines.

I tried 3 things like -

  • Tried All the settings in the right panel of xcode to show cell separator line.
  • Tried setting up the Cell Line Separator using code in DidLoad method
  • creating new SingleViewApp as well, in that also its not coming. Nothing solves the issue.

I believe either its bug in xcode 7.1.1 or I am done some wrong global settings in xcode, Because for new apps also its not showing.

Please suggest me some solution.


回答1:


It is possibly a bug when your simulator is scaled to 50% . I scaled the simulator window to 75% (CMD+2) or 100% (CMD+1) and that seems to show the separator lines.



来源:https://stackoverflow.com/questions/34021988/tableview-cell-separator-line-not-showing-in-ios-development-using-swift-2-0-xc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!