Beacon based app suggestion on lock screen not shown in iOS 10

你说的曾经没有我的故事 提交于 2020-01-02 09:12:37

问题


My app uses background beacon scanning. I have written locationManager.requestAlwaysAuthorization() and locationManager.startMonitoring(for: region) in my code. When I open the beacon, the lock screen of my iPad mini (iOS 9.3) shows my APP's icon. However, it's not shown on the lock screen of my iPhone 5s (iOS 10.3).

I have checked the didDetermineState, didEnterRegion, didExitRegion callbacks. All of them works fine on both devices.

Is it a bug or should I do some additional settings to make my APP appear on the lock screen suggestion in iOS 10 device?


回答1:


The feature that shows a suggested app icon on the lock screen based on a CoreLocation region entry event seems to have been removed from iOS 10, although there are inconsistent reports, and some users with early version of iOS 10 insist they still saw it happening. In iOS 8-10, there is still a separate Handoff feature that often shows Safari icons on the lock screen, that may be confused with suggested apps.

In my tests, the same BeaconWizard app that monitors for a single CLBeaconRegion has its icon appear on the lock screen when the beacon is turned on in iOS 8.3.

It does not show up on the lock screen in iOS 10.1.1.

In iOS 10, a similar Siri suggested apps feature appears if you swipe right on the lock screen. It is unclear what algorithm is used for the suggestions. Location may be one factor, but I am not able to get apps to consistently appear in this list based on location events.



来源:https://stackoverflow.com/questions/43883355/beacon-based-app-suggestion-on-lock-screen-not-shown-in-ios-10

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!