setProtectionEnabled:(BOOL) method

Controls whether the download cache should store files using protection.

Syntax

public static virtual void setProtectionEnabled: (BOOL flag_in)

Usage

It is enabled by default and applies to all instances. It is available for builds targeting iOS 4.0 or above.