Skip to content
/ WZXApps Public

判断本机是否安装某些app / To determine whether the installation of some app

License

Notifications You must be signed in to change notification settings

wzxha/WZXApps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WZXApps

判断本机是否安装某些app
To determine whether the installation of some app
期待你能和我一起完善它
Expect you to be able to perfect it with me

注意事项

目前需要手动添加URL Scheme到info,我将写一个Xcode插件.
Currently need to manually add URL Scheme to info, I will write a Xcode plug-in.
WZXAppsHelper 帮助你快速添加白名单到Info.plist.
WZXAppsHelper Help you quickly add URL Scheme to Info.plist.

API

typedef NS_ENUM(NSInteger, WZX_Apps) {
    WZXApps_WeChat,
    WZXApps_QQ,
    WZXApps_WeiBo,
    WZXApps_Facebook,
    WZXApps_Twitter,
    WZXApps_Instagram,
    WZXApps_Alipay,
};

+ (BOOL)wzx_haveWeChat;
+ (BOOL)wzx_haveQQ;
+ (BOOL)wzx_haveWeiBo;
+ (BOOL)wzx_haveFacebook;
+ (BOOL)wzx_haveTwitter;
+ (BOOL)wzx_haveInstagram;
+ (BOOL)wzx_haveAlipay;

+ (BOOL)wzx_haveThisApp:(WZX_Apps)app;
+ (BOOL)wzx_haveThisAppWithUrlScheme:(NSString *)urlScheme;
+ (BOOL)wzx_haveThisAppWithUrlSchemes:(NSArray <NSString *> *)urlSchemes;

About

判断本机是否安装某些app / To determine whether the installation of some app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published