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

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -