objective c - Xcode 6 Don't Apply Vibrant Effect to Child View -


good evening, everyone!

is possible apply "vibrant" visual effect parent view, without child view inheriting it?

my main window has vibrant effect applied entire view, when using popover segue display new view, view transparent. there way prevent this?

thanks!

you can set popover view's window appearance in controller's viewwillappear():

swift

override func viewwillappear() {     self.view.window?.appearance = nsappearance(named: nsappearancenamevibrantdark) } 

obj-c

- (void)viewwillappear {   self.view.window.appearance = [nsappearance appearancenamed:nsappearancenamevibrantdark]; } 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -