Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Mac 应用程序在 Snow Leopard 和 Lion OS 版本上只询问一次位置许可。
但在 Mountain Lion 上,每次用户运行应用程序时都会询问。
如何解决这个问题?有没有办法请求操作系统获得永久许可?
发现问题。
似乎 Mountain Lion 要求应用程序的二进制文件应位于“应用程序”文件夹中以保存权限。
我将应用程序拖到应用程序文件夹中,应用程序最后一次请求访问用户位置的权限,以后再也不访问了。