0
伊燦在蘋果文檔的NSData的閱讀iPhone在蘋果文檔的iOS了兼容性
Options for methods used to write NSData objects.
enum {
NSDataWritingAtomic = 1UL << 0,
NSDataWritingCoordinated = 1UL << 2,
NSDataWritingFileProtectionNone = 0x10000000,
NSDataWritingFileProtectionComplete = 0x20000000,
NSDataWritingFileProtectionMask = 0xf0000000,
};
typedef NSUInteger NSDataWritingOptions;
NSDataWritingAtomic
Available in iOS 4.0 and later.
NSDataWritingCoordinated
??????
NSDataWritingFileProtectionNone
Available in iOS 4.0 and later.
NSDataWritingFileProtectionComplete
Available in iOS 4.0 and later.
NSDataWritingFileProtectionMask
Available in iOS 4.0 and later.
我如何可以使用2.0方法編制時考慮4.0參數爲3.x目標?
使用1UL << 0?而已 ? – Oliver
如果您使用該值,您將會得到未定義的行爲。 –
似乎這是我在頭文件中看到的......那麼我怎麼使用它呢? – Oliver