I wanted to know whether we can call fork() and system() function within an iOS application? Whether apple review rejects the application.
In order to identify whether the device is jailbroken. I wanted to include the following code in application
let pid = fork()
if(!pid)
{
return true
}
else if(pid = 0)
{
return false
}
OR
let system= system()
if(system == 1)
{
return true
}
else if(system == 0)
{
return false
}
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
App Review
App Store
App Sandbox
App Submission