File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ extension IterableInAppHTMLViewController : UIWebViewDelegate {
207
207
return true
208
208
}
209
209
210
- guard let ( destinationURL , callbackURL ) = IterableInAppHTMLViewController . getDestinationAndCallbackUrl ( url: url) else {
210
+ guard let ( callbackURL , destinationURL ) = IterableInAppHTMLViewController . getCallbackAndDestinationUrl ( url: url) else {
211
211
return true
212
212
}
213
213
@@ -220,7 +220,7 @@ extension IterableInAppHTMLViewController : UIWebViewDelegate {
220
220
return false
221
221
}
222
222
223
- private static func getDestinationAndCallbackUrl ( url: URL ) -> ( callbackUrl: String , destinationUrl: String ) ? {
223
+ private static func getCallbackAndDestinationUrl ( url: URL ) -> ( callbackUrl: String , destinationUrl: String ) ? {
224
224
if url. scheme == UrlScheme . custom. rawValue {
225
225
// Since we are calling loadHTMLString with a nil baseUrl, any request url without a valid scheme get treated as a local resource.
226
226
// Url looks like applewebdata://abc-def/something
You can’t perform that action at this time.
0 commit comments