In this way, iPhone12 cannot join WiFi and does not return any error message

NEHotspotConfiguration * configuration = [[NEHotspotConfiguration alloc] initWithSSID:ssid passphrase:password isWEP:NO];

 [[NEHotspotConfigurationManager sharedManager] applyConfiguration:configuration completionHandler:^(NSError * _Nullable error) {

// error is null
}];

iPhone 6 and iPhone 8 success.


iPhone 6 & 8,is it the same system as your iPhone 12?

iOS 14.2 ?
@SweetBananaStudio-ljrfoxtstts 
iPhone6 iOS 11.2.6
iPhone8 iOS 14.1
iPhone12 latest OS version
In this way, iPhone12 cannot join WiFi and does not return any error message
 
 
Q