当前位置:网站首页>OC extension detects whether an app is installed on the mobile phone (source code)

OC extension detects whether an app is installed on the mobile phone (source code)

2022-06-24 08:05:00 Fenghanxu

I always feel that what I write is not technology , But feelings , One tutorial after another is the trace of one's own journey . Success with expertise is the most replicable , I hope my path will make you less detours , I hope I can help you erase the dust of knowledge , I hope I can help you clarify the context of knowledge , I hope there will be you and me on the top of technology in the future .

OC CheckAppInstall( testing App Whether to install )

Preface

2022.06.23. I wrote a test today App Package installed or not , More accurate .

On the subject

It's very simple to use .

 Insert picture description here

//  Check whether the mobile phone is installed App
NSLog(@"%ld",[CheckAppInstall checkAppInstallWithBundle:@"com.apple.Music"]);

At present, the company has such a demand , I need to check whether it is installed applemusic Of app This app It comes with apple mobile phone app It's a little special , Because we usually detect app The following methods will be used for installation .

 Insert picture description here
But I found that this method is used to judge the non - mobile phone app Can , But it is used to judge what the mobile phone comes with app No way . I deleted appleMusic, Use the above method to detect whether the method has been installed , It shows that this method is not feasible .

That's why the above package is used , The above encapsulation needs to be passed app Of boundleID To test , He is getting a cell phone so app A list of , Get app Of boundleID Compare , If there is something in the list that I pass in boundleID If it is consistent, it returns YES, Return on no NO.

So how can I get app Of boundleID Well ?

If you want to get something that is not Apple's own app Is in the AppStore downloaded boundleID Can download . Ace assistant

 Insert picture description here
 Insert picture description here
But you can't check the Apple phone app, Because the ace assistant doesn't show Apple's own app.

There's another way , Use the website below to search , Input app name , And then to get appid
lookup App- Press to appid Website

 Insert picture description here
Copy Appid Then use the following website , Copy it in and you can get app Of bundle ID
Input AppID– obtain iOS App bundle ID Package name

 Insert picture description here

About boundleID Before, some people have posted blog access methods
iOS Study ( Twenty-eight )AppID/ application ID/Bundle ID obtain 、 Query and use

And then the following paste Changhong app And the identity of the jump system

Commonly used APP Of Url Scheme Prefix

QQ mqq://
 Wechat is  weixin://
 Netease news  newsapp://
 TaoBao  taobao://
 comment  dianping:// dianping://search
 Microblogging  sinaweibo://
weico Microblogging  weico://
 Alipay  alipay://
 douban fm  doubanradio://
 Micro disk  sinavdisk://
 Netease public class  ntesopen://
 Meituan  imeituan://
 everyone  renren://
 I'll check  wcc://
1 Shop No.  wccbyihaodian://
 Youdao Dictionary  yddictproapp://
 You know  zhihu://
 youku  youku://
ZAKER zakeripad://
mdict mdict://
 JD.COM hd openApp.jdiPad://
 Yi Xun  icson://;yixunipad://
wunderlist wunderlist://
 Alipay  alipay://
 Find friends  grenada://;findmyfriends://;fmf1://
 lookup iphone fmip1://
 TouchPal Dialer   dialer://
 Cellular network  prefs:root=MOBILE_DATA_SETTINGS_ID
WIFI prefs:root=WIFI(WIFI These letters must be capitalized )
 Location services  prefs:root=LOCATION_SERVICES
 Memorandum  mobilenotes://
 Gould map  iosamap://
 Today's headline  snssdk141://
 Digging and accounting  wacai://
QQ music  :QQmusic://
 Cheetah browser :sinaweibosso.422729959://
UC browser :ucbrowser://
 Alipay :alipay://
 Sina weibo :weibo://
 youku :youku://
 Master of rhythm : Master of rhythm tencentrm://
 Legend of Dao tower : Legend of Dao tower teiron2273://
 Beautiful everyday :ttpod://
 TaoBao taobao://
 Business card king Almighty camcard://
 Alipay alipay://
 douban fm doubanradio://
 Micro disk  sinavdisk://
 Netease public class ntesopen://
 I'll check  wcc://
1 Shop No. wccbyihaodian://
 Youdao Dictionary yddictproapp://
 You know zhihu://
 Mohist  com.moke.moke-1://
 Business card king Almighty  camcard://
 Scan King Almighty  camscanner://
12306 Booking assistant  trainassist://
 Kingsoft PowerWord  com.kingsoft.powerword.6://
 Master of rhythm  tencentrm://
 Phoenix News  comIfeng3GifengNews://
 High speed rail steward  gtgj://
 Fetion  fetion://
 douban FM doubanradio://
 Great wisdom  dzhiphone://
 Buka comics  buka://
 Iqiyi PPS ppstream://
 Billey billey animation  bilibili://
56 video  com.56Video://
365 The calendar  rili365://
58 Same city  wbmain://
 meet  iaround://
 Mo Mo  momochat://
 Wangwang seller version  wangwangseller://
 Youdao Dictionary  yddict://
 iReader iReader iReader://
 ELong Travel  elongIPhone://
 thunderbolt + Thunder cloud broadcasting  thunder://
 Panda bus  wb1405365637://
 Ctrip Wireless  CtripWireless://
 Wireless Suzhou  SuZhouTV://
 Vipshop  vipshop://
 Micro vision  weishiiosscheme://
 Micro beat  wpweipai://
 Wangxin  wangxin://
 Netease public class  ntesopen://
 Netease general's military order  netease-mkey://
 perpetual calendar  youloft.419805549://
 Potato video  tudou://
 flush  amihexin://
 Tianya community  tianya://
 The weather is fine Pro sinaweatherpro://
 The weather is fine  sinaweather://
 Ink weather  rm434209233MojiWeather://
 Tencent news  qqnews://
 Tencent micro cloud  weiyun://
 Tencent map  sosomap://
 Taobao travel  taobaotravel://
 everyone  renrenios://
 Dragonfly FM qtfmp://
 Pudong Development Bank  wx1cb534bb13ba3dbd://
 China Merchants Bank  cmbmobilebank://
 Alipay  alipay://
 Bank for economic construction  wx2654d9155d70a468://
 Industrial and Commercial Bank of China  com.icbc.iphoneclient://
 Cool music  com.kuwo.kwmusic.kwmusicForKwsing://
 Cool dog music  kugouURL://
 JD.COM  openApp.jdMobile://
QQ music  qqmusic://
QQ fight against landlords  tencent382://
QQ browser  mttbrowser://
QQ Security Center  qmtoken://
QQ International Edition  mqqiapi://
PPTV pptv://
 Iqiyi video  qiyi-iphone://
 Storm video  com.baofeng.play://
 Defend radish 2 wb2217954495://
 Defend radish  wb1308702128://
 Baidu cloud  baiduyun://
 Baidu Music  baidumusic://
 Baidu video  baiduvideoiphone://  or  bdviphapp://
 Baidu Nuomi  bainuo://
 Photo Wonder  photowonder://
 Baidu magic beat  wondercamera://
 Baidu Maps  baidumap://
 Baidu navigation  bdNavi://
 Baidu video hd BaiduVideoiPad://;baiduvideoipadapp://
 Baidu album hd BaiDuCloudAlbumHD://
 Baidu browser hd bdbrowser://
 Baidu library hd bdwenku://
 Sogou input method  com.sogou.sogouinput://
 Sohu videos  sohuvideo-iphone://  or  sohuvideo://
 Sohu News  sohunews://
 With your hand  FDMoney://
 Tencent corporate email  qqbizmailDistribute2://
 Tencent mobile Manager  mqqsecure://
 Tencent video  tenvideo://  or  tenvideo2://  or  tenvideo3://
 Tencent micro-blog  TencentWeibo://
 Tmall  tmall://
 Every day the stars are even sprouting  tencent100689806://
 Love is eliminated every day  tencent100689805://
 Cool run every day  tencent100692648://
 Flying every day  tencent100695850://
 Beautiful everyday  ttpod://
 Weifeng.com  com.weiphone.forum://
 Sina weibo  weibo://  or  sinaweibo://
 NetEase mail box  neteasemail://
 Baidu input method  BaiduIMShop://
C browser  ucbrowser://
 One one clover-one://
 Dangdang hd dangdanghd://;ddhd://
 Public comment hd dianpinghd://
 Read more  duokan-reader://
 ELong Travel hd elongiPad://
 punctuate hd skitch://
 Impression notes hd enx://
 Telephone  mobilephone://
 Memorandum  mobilenotes://
 Set up  prefs:root=SETTING
 Location services  prefs:root=LOCATION_SERVICES
E-Mail MESSAGE://
popAgraph popagraphtumblr://
dropbox db-auth://;dbapi-1://;dbapi-2://;dbapi-3://
goodreader ghttp://;ghttps://;grhttp://;grhttps://;giwhttp://;giwhttps://;gropen://;com.goodreader.sendtogr://
ifttt ifttt://
 Business card king Almighty hd camcard://;CamCardHDOpenAPI://
 Hand in hand group buying hd LaShouGroupHDPay://
 Meituan hd iMeituan://
evermemo evermemo://
 Netease cloud classroom  wangyiyunketang://
 Netease public class  ntesopen://
 Booking assistant 2 trainassistfree://
pcalc lite pcalc://
 Iqiyi video  QIYIHD-iPad://
 three countries kill sgk://
 Scallop news  shanbaynews://
 Scallop words  shanbay://
 Scallop words hd shanbaywordshd://
skype skype://
 Sohu videos hd sohu-SViPad://;sohuvideohd://
teamviewer:teamviewer8://
 Gezhi  griddiary://;sumi-interactive://
 TaoBao hd taobao://;itaobao://;taobaohd://
 Tmall  tmall://
 Tencent video hd tenvideohd://;tenvideo2://
qq Mail list  tencentappqqpim://
 Push the original simultaneously HD tbtui://;tuihd://
 The air travel pro umetrippro://
mathpad myscriptmathpad://
 Yahoo weather ! yweather://
 Shop one  ipadstore://
 youku hd youkuhd://
 You know  zhihu://
 Continental Dictionary pro eudic://
 Expand words  towordsp://
TuneIn Radio tunein://  or  tuneinpro://
OfficeSuite mobisystemsofficesuite://
WPS Office KingsoftOfficeApp://
Line line://
1Password onepassword://
Clear( The famous Todo application ) clearapp://
Chrome Google browser  googlechrome://
Calendars 5 calendars://
PDF Expert 5 pdfexpert5presence://
Documents 5 rdocs://
nPlayer nplayer-http://
GPlayer gplayer://
AVPlayer HD AVPlayerHD://
AVPlayer AVPlayer://
Ace Player aceplayer://
 Yi Xin  yixin://
Whatsapp whatsapp://

Commonly used iOS System function Url Scheme Prefix


 Cellular network  prefs:root=MOBILE_DATA_SETTINGS_ID
VPN prefs:root=General&path=Network/VPN
Wi-Fi prefs:root=WIFI
 Location services  prefs:root=LOCATION_SERVICES
 Personal hot spot  prefs:root=INTERNET_TETHERING
 About the machine  prefs:root=General&path=About
 Auxiliary function  prefs:root=General&path=ACCESSIBILITY
 Flight Mode  prefs:root=AIRPLANE_MODE
 lock  prefs:root=General&path=AUTOLOCK
 brightness  prefs:root=Brightness
 bluetooth  prefs:root=General&path=Bluetooth
 Set the time  prefs:root=General&path=DATE_AND_TIME
FaceTime prefs:root=FACETIME
 Set up  prefs:root=General
 keyboard setting up  prefs:root=General&path=Keyboard
iCloud prefs:root=CASTLE
iCloud Backup  prefs:root=CASTLE&path=STORAGE_AND_BACKUP
 Language  prefs:root=General&path=INTERNATIONAL
 location  prefs:root=LOCATION_SERVICES
 music  prefs:root=MUSIC
Music Equalizer prefs:root=MUSIC&path=EQ
Music Volume Limit prefs:root=MUSIC&path=VolumeLimit
Network prefs:root=General&path=Network
Nike + iPod prefs:root=NIKE_PLUS_IPOD
Notes prefs:root=NOTES
Notification prefs:root=NOTIFICATIONS_ID
Phone prefs:root=Phone
Photos prefs:root=Photos
Profile prefs:root=General&path=ManagedConfigurationList
Reset prefs:root=General&path=Reset
Safari prefs:root=Safari
Siri prefs:root=General&path=Assistant
Sounds prefs:root=Sounds
Software Update prefs:root=General&path=SOFTWARE_UPDATE_LINK
Store prefs:root=STORE
Twitter prefs:root=TWITTER
Usage prefs:root=General&path=USAGE
Wallpaper prefs:root=Wallpaper
原网站

版权声明
本文为[Fenghanxu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206240434141924.html