Does MobileSensorReading work?

Jonathan Lynch jonathandlynch at gmail.com
Fri May 26 10:56:25 EDT 2017


I put a button on my app and put the app on my iPhone.

The button had the following script:


on mouseUp

put MobileSensorReading("location",true) into tReading

answer the Keys of tReading

answer tReading

end mouseUp

I figured this would tell me if the function was supposed to return an
array or a variable, since I had read both online.

Interestingly, it returned empty for both.



-- 
Do all things with love



More information about the use-livecode mailing list