Calling “sysctlbyname(…)” with “hw.machine” flag in iOS9
问题 Following WWDC 2015 session "703 Privacy and Your App", there is changes using sysctl . And now there we will no longer be able to call kern.proc , kern.procargs , kern.procargs2 and see data from any other processes then one's self. It's a quite legit privacy hardening by Apple. Can anyone confirm that calling sysctlbyname(...) with hw.machine to fetch exact device name is allowed in iOS9 and not affected by restriction mentioned above? 回答1: Yes ,I have tested it Using Xcode7 beta5 in