UIView.animate(withDuration: 0.1, delay: 0.0, options: .curveEaseInOut, animations: {
let detailController = self.splitViewController?.viewControllers[1] as! INSPEditTemplateDetailcontroller
detailController.btn_toggleSplitView?.imageView?.image = (detailController.btn_toggleSplitView?.imageView?.image?.withRenderingMode(UIImageRenderingMode.alwaysTemplate))
detailController.btn_toggleSplitView?.tintColor = INSPAppreance.sharedInstance.getClientBaseThemeColor()
if self.splitViewController?.preferredDisplayMode == UISplitViewControllerDisplayMode.allVisible {