iOS 7 iPad white line on dark UITableView - ipad

We have a UITableView, where we set the backgrounds to be black in the headers and grey in the cells. On iOS 6 it works. On iOS 7 we noticed a white line above each black section heading on the iPad 3rd-gen. I haven't noticed this on other devices like an iPhone 5.
Is there a workaround to remove this white line? Is this a bug in iPad?

I'm pretty sure this is a bug with iOS 7, try highlighting the cell above the section and scrolling so you don't call your didSelectRow method, and you will see that the separator picks up the style after that...

Related

iOS swift: since 11.2 strange borders on some UiViews

Since I've updated to iOS 11.2 on my iPhone 8 plus I see strange borders on some views. Not all, but just some.
I've tried to set the border color to clear, the border size to 0, but still the border are there.
If I try to take a screenshot the picture doesn't show the borders.
If I play the app from an other iOS version or from simulator there aren't any border.
Did some one have the same bug? Do you know a fix?

Strange color in today extension

In iOS 10 I sometimes can notice strange colors of UI elements. You can see that some labels on screen are black. Sometimes UIImageViews are pink or red. I don't set the color of these views, but after 1 or 2 seconds after first loading the color changes and everything is ok.
Ok, it was a bug in iOS because I noticed the same effect with other apps. Nothing can be done by iOS developer to remove this issue.

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

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.
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.

CAGradientLayer gets overlayed on the tableviewcell's text in iOS 7 where as just works fine in iOS 8

In iOS 8 & in iOS7 :
I was working on the Clear like to do app by following a tutorial on the raywenderlich website. But I am stuck with a problem regarding with the CAGradientLayer. In this app the to do items are marked completed by striking of the text in the cell and inserting the green color layer to the cell.
I am inserting the layer of green color using insertSublayerAtndex method of CAGradientLayer.
There are two problems if I insert the green layer at index 0 it works in iOS 8 & it doesn'tin iOS 7. So I looked up stackoverflow & then tried to insert the green layer at index 1 for iOS 7 version of the app. But it overlays the text of the tableviewcell & the strike through layer as shown in the screenshot above.
Give me some hints to work around this problem so that the application will lookm exactly the same in both iOS7 & iOS8.

strange uitableview top border only on iphone 5 simulator 4 inch

when I run the app on iphone 4 simulator or device, there is no topborder.
the border is not the uitableview.layer.border, it's moves with the content scroll.
I've tried to change and test the cell border, the table seperator..
but, I can't remove this strange gray border.
I also test to see if this border was hidden behind subview in iphone 4, but no,
on the iphone 4, the border is not exist.
again, only in iphone 5 simulator (I don't have device to test on).
any ideas ?
UPDATE:
well..
I manually add border to the layer of the uitableview.
unlucky then, but..it's better late then never..

Resources