It start receiving updates when I moved the code which enables location manager into AppDelegate class. If that code is at some other class, the prompt window for location permission will appear but the monitoring of location changes will not work. I am not totally sure why is that, but it works now :D
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.