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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -