According to Apple, the "Content Security Policy(CSP)" which support in Safari 10 has been enhanced by including version 2.0 of the standard. It seems that this feature includes in iOS 10
as well.
For more information please look here about the CSP levels: https://content-security-policy.com
OR
Check the site with Chrome Developer Tools and you will find most likely a warning like Mixed Content: The page at '...' as loaded over HTTPS, but requested an insecure resource '...'. This content should also be served over HTTPS.
And If you want to remove the message on the XCode's console then, please find the below steps.
- Select Product => Scheme => Edit Scheme or use shortcut :
CMD + <
- Select the
Run
option from left side.
- On Environment Variables section, add the variable OS_ACTIVITY_MODE = disable
For more information please find the below GIF representation.
Note : While debug the code in device, please unchecked this option as the NSLog statement do not show in the console.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…