/ Published in: Objective C

pass a variable from web site (in php, in this case) to iOS app.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//in iOS code if(error) { NSLog(@"%@", [error localizedDescription]); } else { NSLog(@"Data had loaded successfully"); } NSLog(@"result : %@", resultString); /* in php code as a very simple example <?php - function someFunction () { $variable = rand(0,10); echo $variable; } someFunction(); ?> */
Comments
