简体   繁体   English

在锁定屏幕的左下角添加应用程序图标

[英]Add App Icon on lower left corner in lock screen

我已在设备上安装了应用程序,当它进入特定区域时,我想在锁定屏幕的左下角显示它,但我不想使用iBeacon,有没有办法使用存折卡来添加位置和日期/时间到pass.json文件,并从存折卡中读取该位置和时间,并在iPhone的锁定屏幕上的左下角显示该应用程序,具体取决于存折卡中的位置或时间?

The launch icon you see on the lock screen is put there CoreLocation launches an app into the background based on iBeacon or Geofence detection. 您在锁定屏幕上看到的启动图标将放置在此位置, CoreLocation基于iBeacon或Geofence检测在后台启动应用程序。 While you said you don't want to use iBeacons with your app, you can still accomplish the same thing with CoreLocation Geofences. 虽然您说不想在应用程序中使用iBeacons,但仍可以使用CoreLocation Geofences完成相同的操作。 The way it would work is that you would register the geofences with your app, and then when you cross the geofence with your app in the background, the icon will appear on the lock screen. 它的工作方式是将地理围栏注册到您的应用程序,然后在背景中将地理围栏与应用程序交叉时,该图标将出现在锁定屏幕上。 Tapping on the icon launches your app. 轻击图标可启动您的应用程序。

You can find a tutorial on setting up Geofences with your app here: http://www.raywenderlich.com/95014/geofencing-ios-swift 您可以在此处找到有关使用应用程序设置地理栅栏的教程: http : //www.raywenderlich.com/95014/geofencing-ios-swift

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ibeacon相关:锁定屏幕上显示应用程序图标,左下角双击主页按钮,消失在ios 10上 - ibeacon related: app icon displayed on lock screen and home button double click in lower left corner, disappeared on ios 10 基于GPS的基于VS Beacon的测距? 哪个控制着锁屏屏幕左上角的应用程序图标 - GPS based VS Beacon based ranging? Which governs Lock screen left corner app icon 如何使我的应用程序图标显示在锁定屏幕的左下角,并将其链接到应用程序商店? - How do I get my app icon to show in the bottom left corner of the lock screen and have it link to the app store? 如何在锁定屏幕上显示与左下角相机相同的 iPhone 应用程序图标 - How to show iphone app icon on lock screen same as camera on bottom left iOS 8推荐的应用程序图标锁定屏幕 - iOS 8 Suggested App icon lock screen 我们可以在 iPhone 应用程序图标的最左上角显示徽章图标,而不是通常的最右上角显示吗? - Can we show badge icon on left top most corner of an app icon in iPhone instead of usual right-top-most corner display? 视图左上角的 GMSMarker 图标 (iOS) - GMSMarker icon in the top left corner of the view (iOS) 当应用程序在后台运行时,在iOS应用程序的锁定屏幕上添加图像 - Add image on lock screen in iOS app, when app is running in background Objective-C-文本基线位于左下角 - Objective-C - Text baseline on lower left corner 如何在iOS应用程序的锁定屏幕中添加按钮或可点击的文本? - How to add buttons or clickable text to the lock screen in an iOS app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM