how can I share iOS URl Schema with parameter to be a link that I can click not just string
up vote
0
down vote
favorite
tazah://posts?postID=10
I need to make this a clickable link without using http
ios url-scheme
add a comment |
up vote
0
down vote
favorite
tazah://posts?postID=10
I need to make this a clickable link without using http
ios url-scheme
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
tazah://posts?postID=10
I need to make this a clickable link without using http
ios url-scheme
tazah://posts?postID=10
I need to make this a clickable link without using http
ios url-scheme
ios url-scheme
asked yesterday
Amr Abd El-Wahab
113
113
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
You can open urls using this code
UIApplication.shared.open(url, options: [:], completionHandler: nil)
So in your case:
if let url = URL(string: "tazah://posts?postID=10")
if UIApplication.shared.canOpenURL(url)
UIApplication.shared.open(url, options: [:], completionHandler: nil)
yes this will open the app , but I want to share this to facebook or twitter and I can click it to open the app without using http or https as apple say "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
Unfortunately, there is no other way than deep linking. So the only way to achieve this is to redirect the user to http/s page like you red on apple documentation.
– kstefanou
14 hours ago
add a comment |
up vote
0
down vote
Just add in you info.plist int the URL types scheme.
https://jayeshkawli.ghost.io/ios-custom-url-schemes/
New contributor
you mean I can't make it without using http or https , because apple say that "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You can open urls using this code
UIApplication.shared.open(url, options: [:], completionHandler: nil)
So in your case:
if let url = URL(string: "tazah://posts?postID=10")
if UIApplication.shared.canOpenURL(url)
UIApplication.shared.open(url, options: [:], completionHandler: nil)
yes this will open the app , but I want to share this to facebook or twitter and I can click it to open the app without using http or https as apple say "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
Unfortunately, there is no other way than deep linking. So the only way to achieve this is to redirect the user to http/s page like you red on apple documentation.
– kstefanou
14 hours ago
add a comment |
up vote
0
down vote
You can open urls using this code
UIApplication.shared.open(url, options: [:], completionHandler: nil)
So in your case:
if let url = URL(string: "tazah://posts?postID=10")
if UIApplication.shared.canOpenURL(url)
UIApplication.shared.open(url, options: [:], completionHandler: nil)
yes this will open the app , but I want to share this to facebook or twitter and I can click it to open the app without using http or https as apple say "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
Unfortunately, there is no other way than deep linking. So the only way to achieve this is to redirect the user to http/s page like you red on apple documentation.
– kstefanou
14 hours ago
add a comment |
up vote
0
down vote
up vote
0
down vote
You can open urls using this code
UIApplication.shared.open(url, options: [:], completionHandler: nil)
So in your case:
if let url = URL(string: "tazah://posts?postID=10")
if UIApplication.shared.canOpenURL(url)
UIApplication.shared.open(url, options: [:], completionHandler: nil)
You can open urls using this code
UIApplication.shared.open(url, options: [:], completionHandler: nil)
So in your case:
if let url = URL(string: "tazah://posts?postID=10")
if UIApplication.shared.canOpenURL(url)
UIApplication.shared.open(url, options: [:], completionHandler: nil)
answered yesterday
kstefanou
296
296
yes this will open the app , but I want to share this to facebook or twitter and I can click it to open the app without using http or https as apple say "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
Unfortunately, there is no other way than deep linking. So the only way to achieve this is to redirect the user to http/s page like you red on apple documentation.
– kstefanou
14 hours ago
add a comment |
yes this will open the app , but I want to share this to facebook or twitter and I can click it to open the app without using http or https as apple say "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
Unfortunately, there is no other way than deep linking. So the only way to achieve this is to redirect the user to http/s page like you red on apple documentation.
– kstefanou
14 hours ago
yes this will open the app , but I want to share this to facebook or twitter and I can click it to open the app without using http or https as apple say "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
yes this will open the app , but I want to share this to facebook or twitter and I can click it to open the app without using http or https as apple say "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
Unfortunately, there is no other way than deep linking. So the only way to achieve this is to redirect the user to http/s page like you red on apple documentation.
– kstefanou
14 hours ago
Unfortunately, there is no other way than deep linking. So the only way to achieve this is to redirect the user to http/s page like you red on apple documentation.
– kstefanou
14 hours ago
add a comment |
up vote
0
down vote
Just add in you info.plist int the URL types scheme.
https://jayeshkawli.ghost.io/ios-custom-url-schemes/
New contributor
you mean I can't make it without using http or https , because apple say that "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
add a comment |
up vote
0
down vote
Just add in you info.plist int the URL types scheme.
https://jayeshkawli.ghost.io/ios-custom-url-schemes/
New contributor
you mean I can't make it without using http or https , because apple say that "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
add a comment |
up vote
0
down vote
up vote
0
down vote
Just add in you info.plist int the URL types scheme.
https://jayeshkawli.ghost.io/ios-custom-url-schemes/
New contributor
Just add in you info.plist int the URL types scheme.
https://jayeshkawli.ghost.io/ios-custom-url-schemes/
New contributor
New contributor
answered yesterday
Djamal
1
1
New contributor
New contributor
you mean I can't make it without using http or https , because apple say that "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
add a comment |
you mean I can't make it without using http or https , because apple say that "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
you mean I can't make it without using http or https , because apple say that "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
you mean I can't make it without using http or https , because apple say that "You cannot claim support for some well-known URL schemes, including http, https"
– Amr Abd El-Wahab
yesterday
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237833%2fhow-can-i-share-ios-url-schema-with-parameter-to-be-a-link-that-i-can-click-not%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password