顯著位置更新是沒有任何手段來檢查在模擬器顯著位置的變化,而不是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模擬器
- 4. 如何在iPhone模擬器上模擬電話收入?
- 5. iPhone模擬器 - Calendar.sqlitedb
- 6. iPhone 6.1模擬器
- 7. iPhone模擬器3.0
- 8. iPhone 4s模擬器
- 9. iPhone 3GS模擬器
- 10. iPhone模擬器GL_OES_standard_derivatives
- 11. iPhone 3.2模擬器
- 12. applicationWillResignActive如何在iPhone模擬器測試
- 13. iPhone模擬器掛在NSLog
- 14. GPRS在iPhone模擬器上
- 15. iPhone模擬器是在fritz
- 16. 碰撞在iPhone模擬器
- 17. 中止在iPhone模擬器
- 18. 在iPhone模擬器中模擬飛行模式
- 19. MPMoviePlayerController沒有在iPhone 5模擬器發射通知模擬器
- 20. 可滾動div不工作在android模擬器,iphone模擬器
- 21. iPhone模擬器顯示器
- 22. 模擬在iPhone上
- 23. 如何在3.2中使用iPhone模擬器(不是iPad模擬器)
- 24. 如何重置iPhone模擬器
- 25. 如何瀏覽iPhone模擬器
- 26. 如何改變iPhone模擬器SDK
- 27. 如何重置iPhone模擬器
- 28. iOS 5 iPhone模擬器
- 29. iPhone和iPod模擬器
- 30. 接近iPhone模擬器
這不會模擬重大變化事件。 – AshHimself 2016-11-23 13:46:27