0

I'm just use the PhotoKit to delete photos, just like this:

[[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
    [PHAssetChangeRequest deleteAssets: arrayOfPHAssets];
} completionHandler:^(BOOL success, NSError *error) {
    NSLog(@"Finished deleting asset. %@", (success ? @"Success." : error));
}];

And the result is:delete image's info

How to change the title's language to Chinese. I have a try to change iPhone's language and it doesn't matter.Please.

lidechao
  • 3
  • 4
  • Is your app localized to Chinese? – rmaddy Dec 21 '16 at 03:08
  • The both , Chinese and English. But I don't know how to change the title's language. – lidechao Dec 21 '16 at 03:10
  • I see an "Edit" button in that screenshot. Your app is running in English, not Chinese. Once you get localization working properly you should not see any English in your app if the device's language is set to Chinese. – rmaddy Dec 21 '16 at 03:12
  • I have set the localizations, and the edit button's title is Chinese, but the alert view, also is the english. The demo's url is https://developer.apple.com/library/content/samplecode/UsingPhotosFramework/Introduction/Intro.html#//apple_ref/doc/uid/TP40014575,and you can have a try. – lidechao Dec 21 '16 at 05:19
  • It's depends on the system language, once set the language, and the should restart the iPhone. Thanks. – lidechao Dec 21 '16 at 08:29

0 Answers0