iOS version data to server

Discussion in 'iOS Programming' started by kingsta, May 8, 2014.

  1. kingsta macrumors newbie

    Joined:
    May 8, 2014
    #1
    Hi,

    When a user jailbreaks his iPhone and uses my app would it be possible to detect what version the user is running and submit that to my server.

    For example if he was using cydia, would I be able to send this data to my server through my app when submitting a score for example?

    So basically, I want to be able to check that the user is running a legit copy of iOS rather than a cydia one.
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    Whether you want to get the version of iOS or the version of your app (wasn't sure from your query), the answer is: yes!

    If you can clarify which it is, I can direct you as to how to grab that version number you want.
     
  3. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #3
    The fact someone is running a jail broken iOS device does not mean they are running an illegitimate of software.
     
  4. kingsta thread starter macrumors newbie

    Joined:
    May 8, 2014
    #4
    Yes i wanted to get the version of the iOS that the user is running..if you could direct me as to how, that would be great!

    ----------

    The problem with this is it allows them to edit game code that could ruin the leaderboard, verifying that the user is running iOS without cydia would be beneficial in this case, unless there is a way of hiding the code even in cydia
     
  5. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #5
    As someone who plays games, I have to say that leaderboards by themselves are quite dull. You need to have leaderboards + ghosts/replays (like in Rayman Legends, and in several other racing games) for any system like that to actually make your game any more fun than it is without leaderboards, in my opinion. I would imagine that faking ghost/replay data would be far more difficult for any would-be hackers than faking leaderboard scores, so if you went with a system like that, it would be a lot more resistant to fraud in addition to being more fun.

    It would probably also be more difficult to implement, which is why most games go the lousy route of just having leaderboards.

    (Actually... StarCraft II's leaderboards are a lot of fun even when there's no replay data... emulate those. Hackers will all automatically end up in their own division which the legitimate players need not even know exists).
     
  6. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #6
    Look into the UIDevice singleton.
     

Share This Page