I've created new window controller in storyboard, set class names for windows controller and it's view controller and made modal segue from main menu item to new window. The VS created the classes. When I click the menu item, my window is opened, but settings are ignored - it means title is just "untitled" and my window appearance changes like "Close", "Minimize", "Restore", "Transparent Title bar" etc. are ignored.
I've placed breakpoints to view controller's override void ViewDidAppear() and window controller's constructor - both are called.
I've tried to create new windows in storyboard again in various ways, but nothing worked. I have other modal window in my project I've added some time ago and that one works.
I'm not sure if this is related problem, but I've noticed that when I call PerformSegue("segueName") to open problematic modal window, it does nothing. When I replace segueName to name of segue of working window, it opens. There is no exception and nothing in debugger's application output window.
Any ideas what could be wrong? Thank you.