[#iOS project on Mac] is any possible method to access these window buttons?

For some reason, I have to build my iOS app project on target My Mac(Designed for iPhone) instead of using Mac Catalyst. Now I want to access these window buttons, is there any possible way to do that? or print current view/components whatever it is while clicking button?

[#iOS project on Mac] is any possible method to access these window buttons?
 
 
Q