问题
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