Local Authorization's evaluatePolicy:localizedReason:reply: requires a partly localized reason, which is not ideal from a localization perspective. This is what the docs say:
Application reason for authentication. This string must be provided in correct localization and should be short and clear. It will be eventually displayed in the authentication dialog as a part of the following string: "" is trying to .
For example, if the app name is "TestApp" and localizedReason is passed "access the hidden records", then the authentication prompt will read: "TestApp" is trying to access the hidden records.
What I found out now is, that the complete strings look as follows:
Where the first placeholder contains the app name and the second placeholder contains the localized string the user provided. So I think I should be able to build the string I need.
Best regards,
Marc