概览
接收器应用启动选项。
继承自 NSObject、<NSCopying> 和 <NSCoding>。
实例方法摘要 | |
| (instancetype) | - init |
| 使用默认值初始化对象。更多… | |
| (instancetype) | - initWithRelaunchIfRunning: |
| 使用发送方设备的语言代码和指定的重新启动行为初始化对象。更多… | |
| (instancetype) | - initWithLanguageCode:relaunchIfRunning: |
| 指定初始化程序。更多… | |
房源摘要 | |
| NSString * | languageCode |
| 发件人的语言代码(根据 RFC 5646)。更多… | |
| BOOL | relaunchIfRunning |
| 一个标志,用于指示接收器应用是否应在已运行时重新启动。更多… | |
方法详细信息
| - (instancetype) init |
使用默认值初始化对象。
| - (instancetype) initWithRelaunchIfRunning: | (BOOL) | relaunchIfRunning |
使用发送方设备的语言代码和指定的重新启动行为初始化对象。
| - (instancetype) initWithLanguageCode: | (NSString *__nullable) | languageCode | |
| relaunchIfRunning: | (BOOL) | relaunchIfRunning | |
指定初始化程序。
使用指定的语言代码和重新启动行为初始化对象。
- Parameters
-
languageCode The language code as per RFC 5646. relaunchIfRunning A flag indicating whether the receiver application should be relaunched if it is already running.
媒体资源详情
|
readwritenonatomiccopy |
发件人的语言代码(根据 RFC 5646)。
默认值为发送方设备的语言。
|
readwritenonatomicassign |
一个标志,用于指示接收器应用是否应在已运行时重新启动。
默认值为 NO。