diff --git a/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m b/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m index 7ca63ecad6..36a470021d 100644 --- a/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m +++ b/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m @@ -30,7 +30,7 @@ NSMidY(visibleRect), 1320, 1140); - NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask; + NSUInteger styleMask = NSWindowStyleMaskTitled | NSWindowStyleMaskClosable; _window = [[NSWindow alloc] initWithContentRect:windowRect styleMask:styleMask backing:NSBackingStoreBuffered