I'm trying to delegate the opening of a file my app created to an other app using the UIDocumentInteractionController within an UIAlertAction like this:
// variable in the class
var documentController:UIDocumentInteractionController!
// the alertAction
let okAction = UIAlertAction(title: "Öffnen", style: .default, handler: { (_) in
self.documentController = UIDocumentInteractionController(url: filePath)
self.documentController.presentOpenInMenu(from: self.view.frame, in: self.view, animated: true)
})
The Problem is that the UIDocumentInteractionController is always presented in english even though the device-language is something different. Did I miss something? Where can I change the language for the UIDocumentInteractionController?
rmaddy comment to change the Developement-Language worked. Now everything in the UIDocumentInteractionController is displayed in german.