Swift Deep Linking in iOS

  Рет қаралды 37,456

Swift Arcade

Swift Arcade

Күн бұрын

Пікірлер: 36
@diegopachecoyave2108
@diegopachecoyave2108 2 жыл бұрын
This is the best explanation about deepLinks I have found so far, thank you!
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Most welcome Diego. Thanks for stopping by.
@saifcodes
@saifcodes 4 жыл бұрын
Really informative and short. Thanks
@swiftarcade7632
@swiftarcade7632 4 жыл бұрын
Most welcome.
@KimbrellBrad
@KimbrellBrad 2 жыл бұрын
Very informative! A new subject for me but now I have it in my toolbox. Thanks for sharing this!
@ashdreadeye6976
@ashdreadeye6976 2 жыл бұрын
Great video as always
@AnthonyMarchenko
@AnthonyMarchenko Жыл бұрын
Great, very useful, thank you for the video sir!
@arslanjutt4034
@arslanjutt4034 Жыл бұрын
thanks for your great tutorial, if the app is in the killed state, how can I move the specific controller.
@thientoan0101
@thientoan0101 2 жыл бұрын
very easy to understand, thanks for sharing.
@wiwaltill
@wiwaltill 2 жыл бұрын
Great Tutorial! I running into a problem. Can you tell, how to use with a SceneDelegate please?
@zavatone
@zavatone 4 жыл бұрын
One thing that's largely overlooked is security in deep links. They can be easy to spoof. How do we know if they are from a trusted source?
@swiftarcade7632
@swiftarcade7632 4 жыл бұрын
Ya great question zavatone. As the ones receiving the incoming request, we need to do that work ourselves (checking for injection and malicious parameters coming in via the URL). At the end of the day we don't really know where these are coming in from. So we need to do that validation ourselves. Great question though.
@harounhajem7972
@harounhajem7972 3 жыл бұрын
Yes was thinking of what would happen if you declare the same deeplink as some other app. Won't that collide?
@cinquain0
@cinquain0 3 жыл бұрын
Once you enter the url scheme you want, how does apple know to open your app across different devices? Does the link you choose register somewhere with Apple? Or does your deep link only works if your app is installed on that particular device?
@swiftarcade7632
@swiftarcade7632 3 жыл бұрын
Yes. The URL scheme you define is a plist entry in your app. So you define your URL scheme, and if anyone clicks on a link matching your scheme - your app will open. Yes that means that someone else could take a popular URL (like Starbucks or Spotify) and essentially hijack those links. In reality this isn't really an issue as big companies get the right to reserve their respective URLs. But it does occasionally happen.
@prithibaravichandran2298
@prithibaravichandran2298 2 жыл бұрын
Hi @swift Arcade I'm facing issue in the Swift compiler error. could you please help me on this as soon as possible, to resolve the below listed issue > Deeplink is not convertible to file > use of unresolved identifier 'presentTabBar' Thanks
@baumgartfilip
@baumgartfilip 3 жыл бұрын
Is there a way to skip this system alert window asking "Open this page in "? Or do you have to implement Universal Links for that?
@swiftarcade7632
@swiftarcade7632 3 жыл бұрын
Good question Filip I am not sure. For scheme based URL I believe that it always pops up. I haven't played with universal links though, but maybe they don't require it. Not sure. But thanks for asking.
@jong6958
@jong6958 4 жыл бұрын
thank you, really like this. I have a question, what if you're opening a deep link of another app from your app? Does this fall on universal link? Can you make a video for something like this? Thank you!
@swiftarcade7632
@swiftarcade7632 4 жыл бұрын
Hi Jon - it could. When you open a deeplink it could be a direct deeplink (using a URL scheme) or it could be universal. So it could be either. Would love to make a universal link video, but I haven't done those before, and then require a lot more work and infrastructure on the part of the host (certificate setup and stuff like that). But if I ever do one will definitely post it here :) Thx for the question.
@marm713
@marm713 3 жыл бұрын
Good vid. Thank you.
@swiftarcade7632
@swiftarcade7632 3 жыл бұрын
Thanks Arturo. Glad you liked it!
@sagardaundkar3931
@sagardaundkar3931 3 жыл бұрын
I had a very basic question if two apps use same URLScema, Even I try to search for the same schema then which will open? And what is the reason behind it?
@swiftarcade7632
@swiftarcade7632 3 жыл бұрын
That's a very good question Sagar, and I am not actually sure what will happen. I think which every app gets onto the phone first wins? But don't quote me on that as I am not actually sure.
@jroceastvan
@jroceastvan 3 жыл бұрын
​@@swiftarcade7632 iOS behaviour is undefined if there are two apps registered for an URL scheme. To avoid this scenario you should try to define a handler that is specific for your app . Use a longer descriptive name. This has caused issues in the past where 3rd party apps have defined their own scheme that are duplicates of existing app schemes and it can break navigation for the other apps.
@swiftarcade7632
@swiftarcade7632 3 жыл бұрын
@@jroceastvan Absolutely - that is great advice. Be more specific to avoid conflicts. Thanks for sharing Jacob.
@ynmfun
@ynmfun 2 жыл бұрын
can you talk about universal links ?
@swiftarcade7632
@swiftarcade7632 2 жыл бұрын
Maybe one day :)
@moosegoose1282
@moosegoose1282 4 жыл бұрын
Please do notification deep link!!!!!
@swiftarcade7632
@swiftarcade7632 4 жыл бұрын
Do you mean like get an in app notification and then deeplink somewhere?
@moosegoose1282
@moosegoose1282 4 жыл бұрын
@@swiftarcade7632 yeah, the notification would be remote
@jroceastvan
@jroceastvan 3 жыл бұрын
My desk is only clean like that about once every 2 years lol
@swiftarcade7632
@swiftarcade7632 3 жыл бұрын
Haha - I have always had a pretty clean desk. But I know what you mean!
Dealing with Retain Cycles (Swift/iOS)
7:41
Swift Arcade
Рет қаралды 2,6 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
FAVORITE ART SUPPLIES // Jacquelindeleon
13:50
JacquelinDeleon
Рет қаралды 871
Universal Links | Swift 4, Xcode 10
21:41
Kilo Loco
Рет қаралды 64 М.
What are Nibs? (Swift/iOS)
22:23
Swift Arcade
Рет қаралды 5 М.
Deep Linking | Swift 4, Xcode 10
18:19
Kilo Loco
Рет қаралды 27 М.
Deep dive into Flutter deep linking
13:22
Flutter
Рет қаралды 42 М.
Play: The Secret Weapon for iOS Devs & Designers
10:12
Sean Allen
Рет қаралды 40 М.
Getting started with Combine + UIKit in Swift
23:45
Swift Arcade
Рет қаралды 19 М.
SwiftUI Alerts - Buttons, TextFields, & Passing Errors
13:18
Sean Allen
Рет қаралды 8 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН