简体   繁体   English

隐藏位置服务弹出窗口

[英]Hide Location Service Popup Window

I am a newbie in iphone development and obj-c. 我是iPhone开发和obj-c的新手。 Can you help me to hide the Location Service Popup Window at the time of Application Start in iphone and ipad.It will show only once for an application at the time of first deployment.i think it is the reason of "ALAssetLibrary" which i used for retrieving images from Photo library. 您能帮我在iphone和ipad中的“应用程序启动”时隐藏“位置服务弹出窗口”吗?在首次部署时,该应用程序仅显示一次。我认为这是我使用“ ALAssetLibrary”的原因用于从照片库中检索图像。

could tell me in the correct way to Hide Location Service Popup Window, and if possible any sample code to get my started. 可以以正确的方式告诉我“隐藏位置服务弹出窗口”,并在可能的情况下告诉我一些示例代码。

Thank You In Advance 先感谢您

That popup is coming because of "ALAssetLibrary" this is coming because you are using GPS in your application. 该弹出窗口是由于“ ALAssetLibrary”而出现的,因为您正在应用程序中使用GPS。 There is no way to hide this dialog it will appear only the first time to ask the user does he wants to send their GPS data to app or not. 无法隐藏此对话框,它将仅在第一次询问用户是否要将其GPS数据发送到应用程序时出现。 There is no way to hide it.. Also the apple may reject your app if they don't find this dialog if you are using GPS data. 无法隐藏它。.如果您使用的是GPS数据,则苹果如果找不到该对话框,则可能会拒绝您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM