NSDictionary*properties = [[NSMutableDictionary alloc] init];
[propertiessetValue:@"cokerttyttt" forKey:NSHTTPCookieValue];//value值
[propertiessetValue:@"token" forKey:NSHTTPCookieName];//kay
[propertiessetValue:[[NSURL URLWithString:@"http://xxx.xxx.com/xxx/xxx/xxx"] host] forKey:NSHTTPCookieDomain];
[propertiessetValue:[[NSURL URLWithString:@"http://xxx.xxx.com/xxx/xxx/xxx"] path] forKey:NSHTTPCookiePath];
[propertiessetValue:[NSDate dateWithTimeIntervalSinceNow:60*60] forKey:NSHTTPCookieExpires];
NSHTTPCookie*cookie = [[NSHTTPCookie alloc] initWithProperties:properties];
[[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookie:cookie];
[self.webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://xxx.xxx.com/xxx/xxx/xxx"]]];