Disable localization in UILocalNotification alertBody

I am using local notifications in my chat app (using long poll). The problem is that the user receives a new chat when the app is in the background, the message affected by UILocalNotification alertBody

is replaced with the localized string of that message. How do I tell the UILocalNotification to use the actual message and not its localized meaning?

+3
ios objective-c nslocalizedstring uilocalnotification


source to share


No one has answered this question yet

See similar questions:

2
UILocalNotification NSLocalizedString uses device language

or similar:

1276
How can I disable ARC for one file in a project?
216
Will iOS run my app in the background if it is forcibly closed by the user?
181
How to get background location update every n minutes in iOS app?
59
Displaying an iconic iOS notification banner when your app is open and in the foreground?
sixteen
Is there an easy way to edit / modify the UILocalNotification
2
iOS UILocalNotification only makes sound (no warning) when app is not running
2
UILocalNotification NSLocalizedString uses device language
1
UILocalNotification is missing NSLocalizedString value but is using it
1
How do I use AVSpeechSynthesizer to read UILocalNotification?
0
UILocalNotification alertBody and action is not localized



All Articles
Loading...
X
Show
Funny
Dev
Pics