-1

Alert Message for pushnotification

How can i change the message content for my app.

Plist changes

Vignesh
  • 35
  • 1
  • 8

1 Answers1

1

At first, title of alert message (Dark black text), you cannot change. IT’s an default message set by Apple. But Message of this alert (Below-Light texts), you can change.

For that you can set key NSLocationAlwaysUsageDescription or NSLocationWhenInUseUsageDescription key in Info.plist as per your requirement and you can set their string value whatever you want to display.

enter image description here

enter image description here

VRAwesome
  • 4,721
  • 5
  • 27
  • 52
  • I tried adding NSLocationWhenInUseUsageDescription key in information property list and i added strings. But i there is no changes when running as new file. – Vignesh Jan 18 '16 at 12:43
  • See screenshots in my answer. And please once again check in your app, if anything is wrong. – VRAwesome Jan 18 '16 at 12:59
  • I can't find why changes are not reflecting in app. please find updated screenshot. – Vignesh Jan 18 '16 at 13:17