Tagged with:  

135 Responses to “iOS Login Screen tutorial : XCode 5 + ios 7 + Storyboard + JSON”

  1. Gokul says:

    It works fine if i use your webservices. i do have another web service
    if ($con) {
    //echo “connected” . “”;
    } else {
    //echo “not connected” . “”;
    $json = array();

    $username = $_GET[“username”];
    $password = $_GET[“password”];

    $image=mysqli_query($con,”Select * from login where username=’$username’ and password=’$password'”);

    if ($row_count>0)
    $data[“error_code”] =1000;
    print json_encode($data);
    $data[“error_code”] = 1001;
    $data[“error_message”] = “Username or Password is wrong”;
    print json_encode($data);

    it works fine in postman client
    but not working in the simulator why?

    can u help me?

    Thanks in advance

  2. Manish says:

    Thanks !!
    i followed many tutorial but your tutorial works ..
    its easy to understand json

  3. deep says:

    thank you very much bro.

  4. Felipe says:

    Nice Tutorial!!

  5. Paulo Cesar says:

    Thanks for this tutorial. I was able to add a login screen to a existent project and it run smooth in the first try!

  6. Fatimah says:

    Hi i have downloaded the source code nd everything was working fine until i entered the username and password details. It says signing failed, does the following code have to be pasted in php:

    Also how would i link the iOS app to my phpAdmin

    thank you

Leave a Reply