For using Alamofire or URLSession I would like to have an API run
ONLY on Mobile Data
There is is currently no way to force a URLSession task to run over WWAN. If you’d like to see that change in the future, we encourage you to file an enhancement request.
Please post your bug number, just for the record.
Note Alamofire is based on URLSession, and so it has the same restrictions as URLSession.
for the purpose of Header Enrichment
Please explain what you mean by this.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"