So I have a button with the following code (It works fine on Android devices but not iOS (I have tried three different peoples iPhones):
Any thoughts on why this is happening?if the environment is "mobile" then
put empty into tAttachment
---------------------------
if mobileCanSendMail () is true then
put empty into tAttachment["data"]
put "text/plain" into tAttachment["type"]
put "Greetings.txt" into tAttachment["name"]
mobileComposeMail "PLC Simulator 2 Performance Issues","davidwhiteapps@gmail.com",,,,tAttachment
else
Answer "This device does not have email turned on"
end if
end if
Pass MouseUp
Thanks,
David