objective c - Uploading a file to Google drive using iOS sdk -
in current application, trying upload .text file google drive using google sdk ios . issue every time got error message in log insufficient permission , if have faced or have idea on type of error kindly me. here code, gtldrivefile *file = [gtldrivefile object]; file.descriptionproperty = @"uploaded ios app."; file.mimetype = @"text/*"; file.name=@"mytextfile"; nsstring *filepath = [[nsbundle mainbundle] pathforresource:@"mytestfile" oftype:@"txt"]; gtluploadparameters *uploadparameters = [gtluploadparameters uploadparameterswithfileurl:[nsurl urlwithstring:filepath] mimetype:file.mimetype]; gtlquerydrive *query = [gtlquerydrive queryforfilescreatewithobject:file uploadparameters:uploadparameters]; [self.service executequery:query completionhandler:^(gtlserviceticket *ticket, id object, nserror *error) { if (error) { nslog(@"er...