marty-suzuki / SAHistoryNavigationViewController

SAHistoryNavigationViewController realizes iOS task manager like UI in UINavigationContoller. Support 3D Touch!
MIT License
1.57k stars 91 forks source link

Cannot set if historyContentView.backgroundColor #41

Closed syky27 closed 8 years ago

syky27 commented 8 years ago

Hi! First of all, I would like to say that this is one of the greatest new functionality I have seen in a long time, It perfectly fits in my app!

There is just one little tiny detail on iOS 9.2 setting up background color gets overriten in SAHistoryNavigationViewController.swift on line 49. I haven't tested this on any other version of iOS, but I am pretty sure that it won't work also.

So I have made a really tiny change, basically just check if backgroundColor is already set, if so It won't get ser on grayColor.

Tested and It works now.

syky27 commented 8 years ago

Fixed by #42