Is their any way to store the nsmutablestring into server side. I had done below coding.:-
NSData *data = [NSKeyedArchiver archivedDataWithRootObject: attributedString];
NSString *Str=[NSString stringWithFormat:@"http://ahd.medma.tv/suman/testv/testformat.php?mystring=%@",data];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:Str]
cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData
timeoutInterval:10];
[request setHTTPMethod: @"GET"];
NSError *requestError;
NSURLResponse *urlResponse = nil;
NSData *response1 = [NSURLConnection sendSynchronousRequest:request returningResponse:&urlResponse error:&requestError];
NSString* newStr = [[NSString alloc] initWithData:response1 encoding:NSUTF8StringEncoding];
NSLog(@"responses===>%@",newStr);
But then how to convert the nsdata into attributedtext into backend side in PHP ?
Please help me