lidatui
V2EX  ›  iOS

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

  •  
  •   lidatui · Apr 26, 2016 · 2389 views
    This topic created in 3682 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   ·   4122 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 107ms · UTC 05:15 · PVG 13:15 · LAX 22:15 · JFK 01:15
    ♥ Do have faith in what you're doing.