ios – Why screen viewWillAppear is not calling when i back from browser in swift

0
51

[ad_1]

I am calling my servicecall in viewWillAppear, and in same screen when i click on button webpage is opening in safari browser here when i go back to app from safari then my servicecall is not calling why?

like this i am going back from safari to app

enter image description here

code: here when i come back from webpage my sellServiceCall is not calling why?.. how to make it call when i back from safari web page.. guide me please

override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
sellServiceCall()
}

@IBAction func connectStripeBtn(_ sender: Any) {

 stripeUrl = "someurl"
 UIApplication.shared.open(url)
}

[ad_2]