V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lidatui
V2EX  ›  iOS

iOS 调用 system()函数所面临的难题,报告这函数用不了了?

  •  
  •   lidatui · 2016-04-26 18:16:26 +08:00 · 1897 次点击
    这是一个创建于 2944 天前的主题,其中的信息可能已经有所发展或是发生改变。

    -(void)aaa{ const char*string = "ls"; int b = system(string); NSLog(@"%d",b); } 调用这个函数时,,报错 system is deprecated:first deprecated in iOS 8.0 那个高手会解决?

    1 条回复    2016-04-27 16:52:17 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1057 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:13 · PVG 07:13 · LAX 16:13 · JFK 19:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.