dqrqp8492 2012-05-24 15:24
浏览 34
已采纳

从iOS 5访问Web服务上的MySQL

I'm looking at ways to get information from my MySQL DB using iOS.
The DB and its PHP file work great (I have a working app for android which accesses it)
I wanted to use ASIHTTPRequest, but It gives all kind of problem when using ARC. I tried finding guide on how to create a static library for it, but everything I tried didn't work, I couldn't get it to run, getting about 30 errors regarding ARC (also from sbJSON)

I'm guessing that there are other ways, but googled couldn't help me with this. All I can find was getting info from it. But i need to be able to update it as well

  • 写回答

1条回答 默认 最新

  • dqwp81696 2012-05-24 16:25
    关注

    They are probably down voting because of the poor formatting of the question.

    It also looks like this is your first time, or atleast new to iOS development, if this is the case avoid using ARC, as it uses a few different property flags. It can be a pain to use with Non-ARC library

    ie instead of retain it now uses strong

    Also, you should know by now, if you don't show an attempt at the problem people tend not to help

    Edit: here are some links to getting Non-Arc Code working in an Arc Enabled Project:

    http://www.seriousmonster.com/mixing-arc-and-non-arc-code-with-static-libraries/

    http://maniacdev.com/2012/01/easily-get-non-arc-enabled-open-source-libraries-working-in-arc-enabled-projects/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部