iPhone服务器通讯
我对所有不同类型的服务器和 iphone 服务器通信等感到非常困惑。
我想知道哪一种是实现以下内容的最佳方法:
如果应用程序在 iphone 上启动,它会调用带有参数的服务器(例如:iphone的UDID)。然后服务器创建一个文件夹,以UDID的字符串作为文件夹的名称。如果此文件夹已存在(如果 iphone 已使用该应用程序),它会检查其他一些内容并将一些数据发送回 iphone(例如,如果该文件夹中存在图像,则在 iphone 上显示此图像)。
我已经读了很多东西,但我不知道该用什么。您能给我一些我应该查找的关键字或类吗?任何有关我应该使用哪种服务器的提示将不胜感激。
顺便说一句,我想发送 UDID 应该是安全的,因为它是敏感的用户数据......
好吧,我希望你能帮助我一点。
谢谢。马克西
I am really confused about all the different kinds of servers and iphone-server communications etc.
I would like to know which would be the best way to implement the following:
If the app starts on the iphone it calls a function or a script on a server with a parameter (for example: the UDID of the iphone). Then the server creates a folder with the string of the UDID as the name of the folder. If this folder already exist (if the iphone already used the app) it checks some other stuff and send some data back to the iphone (for example if an image is in the folder, show this image on the iphone).
I already read a lot of stuff but I have no idea what to use. Could you please give me some keywords or classes I should look up. Any tips on what kind of server I should use would be appreciated.
On a side note I guess sending the UDID should be secure because it is sensitive user-data...
Well I hope you can help me a bit.
thx. Maxi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您谈论服务器时,它可能会令人困惑。您可以将服务器作为硬件,将服务器作为应用程序。如果您已经拥有硬件服务器和可以通过 POST 接收信息的站点。您可以使用 ASIHTTPRequest 简单地上传有关设备的信息。您必须考虑的一件事是您无法收集 UUID。 Apple 不允许您收集此号码,除非您是提供广告服务的广告公司。您可以做的是发送 UUID 的 md5 之类的哈希值,并将其用作您的目录名称。
When you talk about a server it can be confusing. You can have server as hardware and server as an application. If you already have hardware server and a site that can receive information through lets say POST. You can use ASIHTTPRequest to simply upload information about the device. One thing you have to think about is that you cannot collect UUID. Apple does not allow you to collect this number unless you are an ad company that serves ads. What you can do is to send hash like md5 of the UUID and use this for your catalog names.