configure http proxy to use Charles on iphone

How to capture network traffic on iPhone iPad using Charles Proxy?

How to capture network traffic, inspect network requests and responses on your iOS device from computer using Charles Proxy?