2015年7月23日

(八十四)集成百度地图和基本使用

摘要: 配置的详细内容可以查看百度地图API文档来获取。 ①首先下载百度iOS SDK的完整包,将其中Lib的Release-iphonesimulator下的framework文件导入到工程,然后双击打开framework文件,再打开Resources,将其中的mapapi.bundle导入到工程。 ... 阅读全文

posted @ 2015-07-23 21:29 张大大123 阅读(155) 评论(0) 推荐(0) 编辑

(八十三)第三方类库不支持64位处理器的解决方法

摘要: 当Xcode编译提示Undefined symbol for architecture x86_64时,说明当前框架不支持64位系统,要使用该框架,只需要修改工程设置即可。 打开Build Settings,选择Architecture标签,按照下面的图片设置:在ARCHS_STANDARD后面... 阅读全文

posted @ 2015-07-23 21:15 张大大123 阅读(138) 评论(0) 推荐(0) 编辑

(八十二)利用苹果服务器获取导航信息和绘制路径

摘要: 要通过苹果的服务器获得导航数据,利用系统自带的类即可实现,先创建MKDirectionsRequest,然后利用request创建MKDirections,最后调用MKDirection对象的calculateDirectionsWithCompletionHandler:方法,该方法通过一个结... 阅读全文

posted @ 2015-07-23 19:36 张大大123 阅读(212) 评论(0) 推荐(0) 编辑

1055. The World's Richest (25)

摘要: 题目如下: Forbes magazine publishes every year its list of billionaires based on the annual ranking of the world's wealthiest people. Now you are sup... 阅读全文

posted @ 2015-07-23 13:22 张大大123 阅读(141) 评论(0) 推荐(0) 编辑

1054. The Dominant Color (20)

摘要: 题目如下: Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image,... 阅读全文

posted @ 2015-07-23 13:17 张大大123 阅读(146) 评论(0) 推荐(0) 编辑

导航