Form info collected on submit

Discussion in 'iOS Programming' started by Farslasher, Feb 11, 2015.

  1. Farslasher, Feb 11, 2015
    Last edited: Feb 11, 2015

    Farslasher macrumors newbie

    Joined:
    Feb 11, 2015
    #1
    Hey there,

    My question is what information can be collected in an app for when the user is finally done with a form, so let's say a survey and the user hits submit. Obviously I know the info the user types in will be submitted. What about ip address, or device name? Is the form able to collect that information and submit it once the user hits the submit button?

    Thank you!!
     
  2. waterskier2007 macrumors 68000

    waterskier2007

    Joined:
    Jun 19, 2007
    Location:
    White Lake, MI
    #2
    You can get various pieces of information from UIDevice. You can get things like the name of the device, device type, OS, etc.

    For instance, I have a "contact me" button in some of my apps where people can request support. This button pops up an email for them to compose, and at the bottom of the email I append the device model and OS so that I know if they are coming from an iPad, iPhone, etc.

    As for the IP address, I am not sure. I'm sure google could answer that
     
  3. theSeb macrumors 604

    theSeb

    Joined:
    Aug 10, 2010
    Location:
    Poole, England
    #3
    You need to make it clear to the user that you're planning on collecting stuff like IP addresses, device names and so forth. Also, unless you have a really valid reason to do this and it is a vital part of your app's functionality, then your app is likely to be rejected.
     

Share This Page