UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Problem with iBeacon in iOS14. Project 22

Forums > Swift

Hi, One of my app uses CLLocationManager. And worked perfectly with IBeacons from WellCore. I recently noticed that the application has stopped working. The startMonitoring and startRangingBeacons methods are probably the problem and are no longer supported.

Message from XCode: 'init(proximityUUID:major:minor:identifier:)' was deprecated in iOS 13.0

I already found only one topic on StackOverFlow: but it doesn not resolve the problem. https://stackoverflow.com/questions/64066241/ios-14-how-to-get-ibeacon-to-wake-up-the-app-when-precise-location-permission

Do any of you have a similar problem? How to solve the Beacon problem in iOS 14?

Ten minutes ago I tried to create an application using the knowledge of project 22, but I'm afraid the functionality presented there is no longer supported and the application is not detecting beacons.

All the best!

2      

For iBeacons, this link has another 2 that might help:

https://www.beaconzone.co.uk/blog/ibeacon-scanning-and-region-monitoring-on-ios-14/

Also, whenever there are breaking changes and deprecated features I usually always revert back to Apple directly:

https://developer.apple.com/documentation/corelocation/cllocationmanager

I haven't been working with beacons or CL for a while now, but I hope these links help!

3      

Thank You very much Marcus.

2      

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.