Creating Settings

_UIBackdropView uses a _UIBackdropViewSettings object for its setup. There are many ways to create it:

_UIBackdropViewSettings*settings=(_UIBackdropViewSettings*)[[[_UIBackdropViewSettingsSemiLightalloc]init]autorelease];_UIBackdropViewSettings*settings=[_UIBackdropViewSettingssettingsForStyle:2070];_UIBackdropViewSettings*settings=[_UIBackdropViewSettingssettingsForPrivateStyle:2070];//this only calls settingsForStyle internally, so there are no advantages of using it over settingsForStyle _UIBackdropViewSettings*settings=[[[_UIBackdropViewSettingsalloc]initWithDefaultsValue]autorelease];_UIBackdropViewSettings*settings=[_UIBackdropViewSettingssettingsForStyle:2030graphicsQuality:100];//can be either 10 or 100, 100 is better. See notes at the bottom

Available settings classes (styles) on iOS 7

Here's a list with known settings classes (subclasses of _UIBackdropViewSettings) available in iOS 7.

Creating Sample

// Creating blur view using settings object_UIBackdropViewSettings*settings=[_UIBackdropViewSettingssettingsForStyle:2060];// initialization of the blur view_UIBackdropView*blurView=[[_UIBackdropViewalloc]initWithFrame:CGRectZeroautosizesToFitSuperview:YESsettings:settings];// another way for initialization_UIBackdropView*blurView=[[_UIBackdropViewalloc]initWithSettings:settings];// or without settings object implementation_UIBackdropView*blurView=[[_UIBackdropViewalloc]initWithStyle:2060];[someViewaddSubview:backView];[blurViewrelease];

About _UIBackdropViewSettingsColored

You can give it a tint color (in fact, it already has a default tint color, and some styles (10091, 10092, 10120) set their own). Example:

_UIBackdropViewSettings*settings=[[_UIBackdropViewSettingsColoredalloc]init];[settingssetTintColor:[UIColorcolorWithRed:1green:0blue:alpha:1];//now us it somewhere

Blurring Sample

There are only two blur qualities available.

low

default (Assumed to be "medium")

They correspend to the kCAFilterGaussianBlur's property "inputQuality"

Tinting Sample

[blurViewsetRequiresColorStatistics:YES];[blurViewsetUsesColorTintView:YES];UIColor*color=[UIColorcyanColor];[blurViewsetColorTint:color];// or you may use - (void)transitionToColor:(UIColor *)color;[blurViewsetColorTintAlpha:0.8];[blurViewsetColorTintMaskAlpha:0.7];

About graphics quality

The styles have different graphic qualities. If you don't specify it, the "best matching" quality for your device is used (using [UIDevice _graphicsQuality]). There are two values: 10 and 100. 100 looks better, but needs more resources. On default, iPad2,6, iPad2,7, iPad3,4, iPad3,5, iPad3,6, iPhone4,1, iPhone5,1, iPhone5,2, iPod5,1 get 100, the other devices get 10 (as of iOS 8.1). To manually set a graphic quality to a style, use

[_UIBackdropViewSettingssettingsForStyle:2030arg1graphicsQuality:100];//replace 2030 and 100 with whatever you need.

If you specify the graphics quality as 10 (or use the default, and it is 10 on the device), the blur quality "low" will be used (if you don't override it).

transitionIncrementallyToPrivateStyle and transitionIncrementallyToStyle do the same (transitionIncrementallyToPrivateStyle calls transitionIncrementallyToStyle internally).
transitionToSettings and transitionToPrivateStyle are equivalent too.

For example

_UIBackdropViewSettings*newSettings=[_UIBackdropViewSettingssettingsForPrivateStyle:0];// Whatever configuration for the settings[blurViewsetInputSettings:newSettings];