How to remove UISplitViewController Master Navigation Blur Tint

I am creating a tvOS app that uses a UISplitViewController and in the Master View Controller side is a table (like what is created by default) and I cannot figure out what is bluring at the top and bottom of the table. The blurring occurs more after scrolling the table down a few items pushing the top table cell item up. It appears to be a Navigation Bar background that is blurred gray at the top, but also at the bottom of the table, and it overlays the table view. I cannot figure out what it is and there does not appear to be any documentation on what it is either. I even tried using the Storyboard views Debug View Hierarchy but cannot seem to figure out how to get rid of this gray blur effect. It would be nice to change it's tint color if Apple wants to keep it in the tvOS table view appearance.


Can anyone figure out what this is and how to change it or turn it off? It only seems to appear in the tvOS table view.

Answered by dabinat in 82915022

I had exactly the same problem and eventually figured out that it was just a mask that was added to the top of the table. You can disable it with the following:


self.tableView.maskView = nil;

I believe what you're seeing is the gradient that fades out the content on table views. If you don't want this appearance then try using a collection view.

Accepted Answer

I had exactly the same problem and eventually figured out that it was just a mask that was added to the top of the table. You can disable it with the following:


self.tableView.maskView = nil;

Thank you dabinat! That was it! I very much appreciate your help!

How to remove UISplitViewController Master Navigation Blur Tint
 
 
Q