Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 使用GData中的公共/私有日历链接访问Google日历(无需硬编码密码)_Ios_Security_Calendar_Gdata_Gdata Api - Fatal编程技术网

Ios 使用GData中的公共/私有日历链接访问Google日历(无需硬编码密码)

Ios 使用GData中的公共/私有日历链接访问Google日历(无需硬编码密码),ios,security,calendar,gdata,gdata-api,Ios,Security,Calendar,Gdata,Gdata Api,我目前正在创建一个应用程序,可以访问一家公司的谷歌日历,并在表格中显示事件信息。我希望能够访问此日历,而无需使用以下语句对凭据进行硬编码: [googleCalendarService setUserCredentialsWithUsername:username password:password]; 我正在阅读Google的API控制台以及如何创建OAuth2.0客户端ID来访问信息。这是最安全的访问方式吗?GData for iOS是否支持这一点?我将如何集成它?除此之外,我还考虑从公共

我目前正在创建一个应用程序,可以访问一家公司的谷歌日历,并在表格中显示事件信息。我希望能够访问此日历,而无需使用以下语句对凭据进行硬编码:

[googleCalendarService setUserCredentialsWithUsername:username password:password];

我正在阅读Google的API控制台以及如何创建OAuth2.0客户端ID来访问信息。这是最安全的访问方式吗?GData for iOS是否支持这一点?我将如何集成它?除此之外,我还考虑从公共/私人地址阅读日历。这似乎给了我更多的麻烦,因为我只是在尝试通过以下方法使用日历中提供的公共/私人地址时收到了错误:
[googleCalendarService fetchPublicFeedWithURL:calendarURL feedClass:[Gdata FeedCalendar class]委托:self-didFinishSelector:@selector(calendarsTicket:finishedWithFeed:error:)];

我真的以为我标记了它。或者,这不是关于IDE的问题。这是关于google的API的问题。@ErwaySoftware意味着你的问题不是关于XCode的,这就是为什么它被删除的原因。