Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Enabling Location Services on iOS


I'm trying to enable iOS location services to grab the LAT LONG and Altitude of a user's device. I am currently initializing location services on level begin play, starting location services, and then getting a last known location object.

That object always returns values as 0,0,0 each run.

I've added keys to the plist file, however, I never saw any pop ups about the app needing location services on launch or run. I feel like I've missed something, but havent been able to find any documentation about iOS location services set up and use beyond the tooltips in the editor.

Thank you for the help!

Product Version: UE 4.17
more ▼

asked Sep 11 '17 at 01:03 AM in Blueprint Scripting

avatar image

31 2 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Well, I had the same problem, but finally, I find the solution for IOS11 UE4.18 preview. first of all, put all of this line below into p.list and it working good on my iphone7

<key>NSCameraUsageDescription</key>\n<string>allow camera in order to use ARKit?</string>\n<key>NSLocationAlwaysUsageDescription</key>\n<string>Allow the GPS?</string>\n<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>\n<string>Allow the GPS?</string>\n<key>NSLocationWhenInUseUsageDescription</key>\n<string>Allow the GPS?</string>

then try this : just make sure you are using init node first.

alt text

more ▼

answered Sep 26 '17 at 07:44 PM

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question