UIDevice(FWApplication)

@interface UIDevice (FWApplication)

#pragma mark - Jailbroken

// 是否越狱
@property (class, nonatomic, assign, readonly) BOOL fw_isJailbroken NS_REFINED_FOR_SWIFT;

#pragma mark - Network

// 本地IP地址
@property (class, nonatomic, copy, readonly, nullable) NSString *fw_ipAddress NS_REFINED_FOR_SWIFT;

// 本地主机名称
@property (class, nonatomic, copy, readonly, nullable) NSString *fw_hostName NS_REFINED_FOR_SWIFT;

// 手机运营商名称
@property (class, nonatomic, copy, readonly, nullable) NSString *fw_carrierName NS_REFINED_FOR_SWIFT;

// 手机蜂窝网络类型,仅区分2G|3G|4G|5G
@property (class, nonatomic, copy, readonly, nullable) NSString *fw_networkType NS_REFINED_FOR_SWIFT;

@end

Undocumented

Jailbroken

  • Undocumented

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) BOOL fw_isJailbroken

Network

  • Undocumented

    Declaration

    Objective-C

    @property (class, nonatomic, copy, readonly, nullable) NSString *fw_ipAddress
  • Undocumented

    Declaration

    Objective-C

    @property (class, nonatomic, copy, readonly, nullable) NSString *fw_hostName
  • Undocumented

    Declaration

    Objective-C

    @property (class, nonatomic, copy, readonly, nullable) NSString *fw_carrierName
  • Undocumented

    Declaration

    Objective-C

    @property (class, nonatomic, copy, readonly, nullable) NSString *fw_networkType