Allow access-control-allow-origin xcode on ionic 3


#1

my api is usually working, no ionic use can be used to allow access-control-allow-origin, but when I give the build and squeeze into xcode, I have no answer …
Response in chrome with ionic serve:
status: true, token_app: “eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM1OG…P4_k23gMZIbFCUGIL8Y9bpZW8” .
image of the response in chrome : https://imgur.com/a/VnDWs
but when I give the build in xcode and execute the application, and try to make the request, it does not do anything, it does not even make the requisition
I would like to know how do I release the requests in xcode, in the same way … type use the allow access-control-allow-origin
webservice/provider

{ 
 return this.http.post(this.url+'api/userLogin',{
  "email": account.email,
  "password": account.password},{"headers": {'Accept':'application/json'}}); 
}