显著位置更新是没有任何手段来检查在模拟器显著位置的变化,而不是GPS更新如何模拟在iPhone模拟器
1
A
回答
2
你可以使用像这样的东西https://github.com/futuretap/FTLocationSimulator。或者修改它以更好地满足您的需求。
编辑
(我的作者:) https://github.com/Azoft/FakeGPSUtility一个 - 这个项目可以帮助太大。
1
选择iPhone Simulator
- >从menu
选择Debug
--->set Location
。 您还可以通过填写longitude
和latitude
值来给定位置。
4
你可以通过使用模拟器的'Free Drive'选项来实现。
一旦你有你的代码设置为监控显著位置更新,请执行下列操作:
- 选择模拟器
- 选择Debug - >位置 - >免驱
- 添加断点CLLocationManager的
didUpdateLocations
委托方法以获得更新
相关问题
- 1. 如何模拟面朝上和面朝下在iPhone模拟器
- 2. 如何在iPhone模拟器上模拟电话收入?
- 3. iPhone模拟器GL_OES_standard_derivatives
- 4. iPhone 6.1模拟器
- 5. iPhone模拟器3.0
- 6. iPhone 4s模拟器
- 7. iPhone模拟器 - Calendar.sqlitedb
- 8. iPhone 3GS模拟器
- 9. applicationWillResignActive如何在iPhone模拟器测试
- 10. GPRS在iPhone模拟器上
- 11. iPhone模拟器是在fritz
- 12. 在iPhone模拟器中模拟飞行模式
- 13. iPhone模拟器显示器
- 14. 如何在3.2中使用iPhone模拟器(不是iPad模拟器)
- 15. 如何重置iPhone模拟器
- 16. 在iPhone模拟器上模拟位置更新
- 17. 是否可以在iPhone模拟器上模拟电话?
- 18. iphone模拟器崩溃?
- 19. iphone模拟器和的UITextField
- 20. iPhone模拟器失败
- 21. iphone和iPod模拟器
- 22. iPhone模拟器和applicationWillTerminate()
- 23. iphone模拟器和视频
- 24. iOS iPhone iPad模拟器
- 25. iPhone模拟器键盘iOS7.0
- 26. 未找到iPhone模拟器
- 27. 问题iPhone模拟器
- 28. iPhone和iPod模拟器
- 29. iphone模拟器不回应
- 30. 滚动iphone模拟器
这不会模拟重大变化事件。 – AshHimself 2016-11-23 13:46:27