IOS 8 today notificationCenterVibrancyEffect widget in UI Builder

When developing today's extension (widget) for iOS 8 Action Center using Interface Builder, you can drag and drop Visual Effect Views with Blur and Vibrancy

into your storyboard. To match the vibration effect of the action center, you must use

+ (UIVibrancyEffect *)notificationCenterVibrancyEffect;

      

category method UIVibrancyEffect (NotificationCenter)

. I know how to do this in code, but when I use a view in Interface Builder, I cannot set another one UIVibrancyEffect

.

You cannot customize the effect in code after it has been created in Interface Builder because the property effect

UIVisualEffectView

is read-only.

Is it possible in Xcode 6 to set this effect in the Interface Builder?

+3


source to share





All Articles