Sorry for opening this up again after all this time.
Remove SSID works very smoothly with your suggestion. I was wondering if there is a similar thing that could be done to add SSIDs as well? I see the CWMutableNetworkProfile exists that can handle a lot of the WLAN specific fields. I am basically looking to replace the current setup where I create a mobileconfig file that is pushed using terminal commands.
My question is - What is the best way to create a CWMutableNetworkProfile object and add it to a CWMutableConfiguration so that I can commitConfiguration? Attempted Using the same concept as remove SSID and added my MutableNetworkProfile to an NSArray along with the existing profiles - I then set the MutableNetworkProfile to this NSArray and try and commit that.
Unfortunately by the end of this most probably long-winded way of doing things, I do not see a network being added in my preferences.
Topic:
App & System Services
SubTopic:
Core OS
Tags: