Movatterモバイル変換


[0]ホーム

URL:


MASTG-KNOW-0093: UserDefaults

TheUserDefaults class, part of thePreferences API, provides a programmatic interface for storing key-value pairs across app launches. It stores data in a plist file within the app sandbox and is intended for small, non-sensitive data.

UserDefaults supports common types likeNSData,NSString,NSNumber,NSDate, andNSArray. Other types must be converted toNSData.

Data is stored locally and included in device backups, except on managed educational devices.


[8]ページ先頭

©2009-2025 Movatter.jp