当我运行以下代码时:
ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
[library assetForURL:albumCopy
resultBlock:^(ALAsset *asset) {
...
}
failureBlock:^(NSError *error) {
...
}];
[library autorelease];
该应用程序要求用户允许使用他们当前的位置。我不以任何方式使用他们当前的位置,那么有没有办法阻止它询问用户?我知道这些消息总是有损用户体验。