How to Change Splitview behavior specific to Views

Hi, developing an app using spiltviewcontroller with sidebar.
Splitviewcontroller initialized with .tripleColumn style. (primary, supplementary, secondary)The app has some views that have to open like .doubleColumn style.(primary, secondary)

I've used .hide() method to hide the supplementary view and it do the job but when tap on sidebar button, the supplementary view appear. Instead of appearing supplementary view, primary view has to appear.

how can i suppose to do this ??
How to Change Splitview behavior specific to Views
 
 
Q