包括天气信息,iPhone App,天气API [英] Including Weather Information, iPhone App, Weather API

查看:382
本文介绍了包括天气信息,iPhone App,天气API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定我想做什么,因为我对此很陌生.我已经在WorldWeatherOnline.com上注册了一个免费的API帐户,该帐户允许使用免费和商业用途.

I am not sure if what I want to do is possible, as i am fairly new to this. I have signed up for a Free API account with WorldWeatherOnline.com which allows usage of free and commercial use.

我想做的是,当用户访问我的应用的某个ViewController时,显示特定位置的3天天气.我不是要通过GPS询问他们的位置,而只是显示当前天气的设定位置.

What I want to do is have the 3 days weather displayed for a specific location when a user visits a certain ViewController of my app. I'm not looking to ask them for their location via GPS, just display a set locations current weather.

我可以生成请求URL并以XML格式或JSON输出,但不知道如何将其实现到我的应用程序中(如果可能的话)

I can generate a Request URL and output in XML format or JSON, but have no idea how to implement them into my app (if it is possible?)

谢谢

推荐答案

检查最佳天气API

阅读博客教程,其中包含

Read the blog tutorial with sample code for

在iphone中集成天气信息

这篇关于包括天气信息,iPhone App,天气API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆