[英]iBeacon tech to bring location-aware app access to lock screen
hi am using the ibeacon technology in my app ,now i have requirement of app icon should be display on lock screen left corner,when user enter in to the specific locations like restaurants,bookshops,showrooms. 您好,我在我的应用程序中使用ibeacon技术,现在,当用户输入餐厅,书店,陈列室等特定位置时,我对应用程序图标的要求应显示在锁定屏幕的左上角。 Note: app icon should be show in lock screen left corner[app is not in device]is it possible? 注意:应在锁定屏幕的左上角显示应用程序图标[应用程序不在设备中]是否可以?
This is possible only if the app is installed on the phone. 仅当手机上安装了该应用程序时,才有可能。 This is how CoreLocation
works as of iOS 8. 这就是CoreLocation
从iOS 8开始的工作方式。
If an app does region monitoring (either for a CLBeaconRegion
to look for beacons or CLCircularRegion
to look for geofence entries), iOS will wake up your app from the background when the region is entered. 如果应用程序进行区域监视(使用CLBeaconRegion
查找信标或使用CLCircularRegion
查找地理围栏条目),则输入区域后,iOS将从后台唤醒您的应用程序。 When this happens, the app's icon will appear on the bottom of the lock screen. 发生这种情况时,应用程序的图标将显示在锁定屏幕的底部。
If the app is not installed, this will not work . 如果未安装该应用程序,则将无法使用 。
There is a similar suggested apps feature that Apple controls that can put the icon of a suggested app based on geolocation in the same location. Apple控件具有类似的建议应用程序功能,可以根据地理位置将建议应用程序的图标放在同一位置。 In this case, tapping the icon brings up the AppStore to download the app. 在这种情况下,点击图标将打开AppStore以下载该应用程序。 But as @rkyr says, what apps get suggested are not under your control -- there is no API. 但是正如@rkyr所说,建议的应用程序不受您的控制-没有API。 Apple decides what gets suggested. 苹果公司决定提出什么建议。
I'm sorry but it's not possible. 抱歉,这是不可能的。 It is called Siri suggestions, and you cannot control which app would be there. 这就是所谓的Siri建议,您无法控制将使用哪个应用程序。 If your user will open your app when she enters this location everyday there will be your app. 如果您的用户每天在进入此位置时都会打开您的应用,那么将会有您的应用。 Siri doesn't have API. Siri没有API。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.