dqrqp8492 2012-05-24 23: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-25 00: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/

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

报告相同问题?

悬赏问题

  • ¥20 wireshark抓不到vlan
  • ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
  • ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持
  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来