lidatui
V2EX  ›  iOS

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

  •  
  •   lidatui · Apr 26, 2016 · 2476 views
    This topic created in 3736 days ago, the information mentioned may be changed or developed.

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

    1 replies    2016-04-27 16:52:17 +08:00
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6133 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 03:20 · PVG 11:20 · LAX 20:20 · JFK 23:20
    ♥ Do have faith in what you're doing.