使用Xcode 11模拟位置

问题描述 投票:0回答:1

[嗯,我正在尝试在iOS模拟器中激活“位置信息”,但出现了无法访问的灰色选项。像这样:

enter image description here

我了解产品>方案>运行>选项...,但是其中没有位置选项。像其他图片一样:

enter image description here

有人可以帮我吗?如何在Xcode 11中做到这一点?提前致谢!

ios xcode ios-simulator
1个回答
1
投票

您只需要转到模拟器打开的Debug菜单-> Location,然后全部设置。enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.