这是一个程序性较小且与服务相关的问题.
在iOS6独立苹果地图发布之前,我使用了苹果原生地图API,它整合了谷歌地图服务.所以现在我在选择Apple和Google Map之间感到困惑.
去年之后地图问题Apple似乎有了很大的改进,但是值得使用Apple原生地图而不是更可靠的Gmaps(适用于任何地点)?
我需要将地图服务集成到导航服务中,因此我需要在两者之间做出决策以用于开发.
有经验的人(iOS7地图N谷歌地图SDK for iOS)欢迎使用优点.
先感谢您!!
[注意:我已经看过其他类似的链接,但它们在应用程序的最终体验n输出中并不广泛]
我收到此错误:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ASIHTTPRequest", referenced from:
objc-class-ref in FirstViewController.o
"_OBJC_CLASS_$_SBJsonParser", referenced from:
objc-class-ref in FirstViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
注意我添加了框架核心图形,系统配置,移动核心服务,libz.dylib,libz.1.2.5.dylib,CF网络,UI工具包和基础.我搜索了所有论坛,花了差不多4天但却找不到原因.
当我评论我的ASIHTTPRequest和SBJSON代码行时,它工作正常.我添加了ASIHTTPRequest和SBJSON的所有类,并检查了三次.有谁能建议我做错了什么?
我已经跟踪了整个API的文档列表(用于创建spreadhseet)和电子表格(用于创建工作表和添加行).但是,我可以在创建后向spreadhseet添加工作表,但是当我尝试添加行时,我会收到错误消息:请求执行失败:https://spreadsheets.google.com/feeds/list/ tj0pIc6qpEB2LtZY9mwfT-A/OD6 /私营/全
我已经提到了所有OAuth范围和所需的凭据,但无法解决此异常.剩下的工作正常,比如创建谷歌电子表格和添加工作表.我只是复制粘贴谷歌代码.
// setUp the confirguration for OAuth 2.0
string clientID = "********.apps.googleusercontent.com";
string clientSecret = "*******************";
string scope = "https://docs.google.com/feeds/ https://docs.googleusercontent.com/ https://spreadsheets.google.com/feeds/";
string redirectURI = "urn:***:wg:oauth:2.0:oob";
// setup the OAuth 2.0 object
OAuth2Parameters parameters = new OAuth2Parameters(); // to hold all the parameters
parameters.ClientId = clientID; // setup the clientID
parameters.ClientSecret = clientSecret; // setup the clientSecret
parameters.RedirectUri=redirectURI; // setup the redirectURI
//setup the authurization URL
parameters.Scope = scope; // set the scope …Run Code Online (Sandbox Code Playgroud) c# google-docs-api google-spreadsheet-api google-cloud-storage google-drive-api
如何通过Google Spreadsheet API在programmaticaly创建的工作表上添加简单的标题行?很难理解他们的doc,它只提到了如何在已经创建的标题行上添加一行.如果首次使用基于单元格的Feed添加标题行,
// Fetch the cell feed of the worksheet.
CellQuery cellQuery = new CellQuery(worksheet.CellFeedLink);
CellFeed cellFeed = service.Query(cellQuery);
// Iterate through each cell, updating its value if necessary.
foreach (CellEntry cell in cellFeed.Entries)
{
if (cell.Title.Text == "A1")
{
cell.InputValue = "name";
cell.Update();
}
else if (cell.Title.Text == "B1")
{
cell.InputValue = "age";
cell.Update();
}
}
Run Code Online (Sandbox Code Playgroud)
此代码不能用作cellFeed.Entries为0,因此控件不会进入for循环.我已经添加了一个包含(4)行和(10)列的工作表.但是,如何首先输入一个简单的标题行(作为列),然后输入其他行(作为这些列中的值)?我知道已经提出的问题很少,但没有人提出答案,这是如此令人沮丧和难以理解这个API实施起来如此复杂?