人の位置の緯度と経度を URL に送信する方法があるかどうか疑問に思っています。また、データベースと一致する UDID 番号も必要です。
これが私がこれまでに持っているものです:
-(void)viewDidLoad {
NSString *query = [[NSString alloc] initWithFormat:
@"http://example.com/ihome.php?uid=%@",
[[UIDevice currentDevice] uniqueIdentifier],
@"&year=2010%@"];
NSURL *url = [[NSURL alloc] initWithString:query];
NSURLRequest *requestObj = [ NSURLRequest requestWithURL: url ];
webView.opaque = NO;
webView.backgroundColor = [UIColor clearColor];
[webView loadRequest: requestObj ];
}