Will fork() in iOS app likely be rejected by Apple's vetting process?
You can't create new process in an iOS application on a non jailbroken device (you would get an error such as "Operation not permitted"), but you can create new thread using pthread library.
Edit : But if you're trying to detect whether a device is jailbroken, I don't think that would violate the store guidelines just to 'try' to do a fork, but it's more a legal question than a technical question.
I found nothing in the app store guidelines that forbid the use of calling some low-level API. Which is logical, since jailbreak doesn't exist, what would they forbid you to do something that you're not able to do ?
The closest things I found are :
- Apps that read or write data outside its designated container area will be rejected
- Apps that download code in any way or form will be rejected
- Apps that install or launch other executable code will be rejected
Is ok to check if an iOS device is jailbroken without violating Apple's coding standards?
Yes it is and there are many reasons to do so. I did this multiple times and they all passed the store approval process. Maybe there are ways that can break Apple's guidelines but it's not forbidden to check the filesystem for bash or something like this.
Related Topics
Why Must a Protocol Operator Be Implemented as a Global Function
Swift Dynamic Table Cell Height
Ignore Manual Entries from Apple Health App as Data Source
How to Get the Active Processes Running in iOS
Could an iOS Application Read/Access Sms Text
Facebook App Requests Aren't Shown on iOS Devices
Apple Push Notification Service Server Certificate Update
Wkwebview and Uimenucontroller
Swift - Downcast Nsurlresponse to Nshttpurlresponse in Order to Get Response Code
Facebook Registration:The Operation Couldn't Be Completed (Com.Facebook.Sdk Error 2)
Why Do Some Views Appear as a Red No Entry Sign in Widgets
Uiimageview Not Showing Transparency of Png Images from Uiimagepickercontroller
Image in Tableviewcell Swipe Action
How to Draw on an Image in Swift
Simplest Algorithm of Measuring How Similar of Two Short Audio