Force MapKit use cached map tiles only/disable network programmatically

后端 未结 4 379
太阳男子
太阳男子 2020-12-31 10:40

We have stumbled upon such a problem.

We are developing an application for travelling. To make sure the user doesn\'t spend much money on roaming charges in our app

4条回答
  •  礼貌的吻别
    2020-12-31 11:16

    iPhone SDK apps do not have access to the network adapter settings, and I know of nothing in the MapKit API that gives you control over its Internet usage. Your best option in this case is probably to present an alert suggesting that the user enable Airplane Mode or turn off data roaming.

提交回复
热议问题