Apple
iOS应用内监听wifi的变化
doorxp 发表于2017-02-03 浏览5558 评论0
Apple 设备可在用户不感知的情况下进行wifi的切换,如果我们在App 内部需要感知设备wifi切换的变化,可以在 Darwin Notify Center 中注册监听 kNotifySCNetworkChange 通知,如下:static void onNotifyCallback(CFNotificationCenterRef center,
&nb
THEOS
THEOS tool openurl
doorxp 发表于2017-02-03 浏览5526 评论0
CF_EXTERN_C_BEGIN
int SBSLaunchApplicationWithIdentifier(CFStringRef bid, BOOL flags);
bool SBSProcessIDForDisplayIdentifier(CFStringRef id, pid_t *pid);
bool SBSOpenSensitiveURL(CFURLRef url);
bo