Deep and back linking in iOS 9: Explained
- aug
- 21
- Posted by Michael
- Posted in Okategoriserade
Deep links and back links not only make the iOS more navigable, they make it more powerful.
Two distinct but distinctly important problems are solved by deep links and back links in iOS 9. Deep links further blur the boundaries between native and online by enabling web links to be opened by associated apps. Back links allow you to return from where you came. With deep links and back links, if you're messaged a tweet and tap on it, instead of going to m.twitter.com you can go to the Twitter app. And with backlinks, you could return to messages with a single tap.
Note: iOS 9 is currently in beta and governed by a non-disclosure agreement (NDA) that doesn't allow for screenshots or video. All the material contained in our iOS 9: Explained series is from previous, now public versions of iOS, from iOS 9 features shown off during the WWDC 2015 keynote, and from our coverage of the event, including our iOS 9 first look.
A brief history of linking and app switching
When Apple the launched the iPhone in 2007 you could move between apps arbitrarily by clicking the Home button, returning to the Home screen, and then tapping on another app. You could also tap on a link, for example a web link to go to Safari or a telephone number to go to Phone. Didn't matter if the link was in an app or a notification. Tap it and you were on your way.
To handle links to apps like Phone, iOS used URL schemes, which Apple registered for their own apps. When one of those URLs was tapped, iOS knew not only to go to an app, but which app to go to. With multiple URL schemes, links could even be directed to specific parts of an app.
Apple did allow developers to register Custom URL schemes, but multiple developers could register the same Custom URL, which could cause confusion and collisions. Because they needed to know if an app is installed to be useful, they could sniff out other apps on a device, they raised privacy concerns. Because they could be used to transport information without encryption, they also raised security concerns.
There was no way for Custom URL's to translate web links into app links either. If you tapped on a facebook.com link, you'd go to facebook.com in Safari, not Facebook.app on your iPhone or iPad.
Also, going back to where you were before, was a manual task: Tap link, switch apps, click Home button, find icon for previous app, tap icon, navigate back to where you'd been.
That began to change in 2010 with iOS 4 and the fast app switcher. From that point on you could avoid going back to the Home screen by double clicking the Home button to access an array of recently used apps in chronological order. Originally the app array was presented as a Dock-beneath-the-Dock. An under-Dock. In 2013, with iOS 7, it was redesigned as a card view, similar to the original version of Mobile Safari or webOS cards.
This year, with iOS 9, it's been redesigned again and the cards are now stacked.
Functionally, not much has changed. The card view did allow you to see the last state of an app, and the stacked card view made them even bigger and easier to see. Still, you click twice, swipe, and tap to switch apps. Which is fine if you want to switch to an app you haven't used in a while but it's not very convenient if all you want to do is go back.
Developers came up with some smart workarounds, namely Greg Pierce's x-callback-url starting in January of 2011, which allowed not only for inter-app navigation, but communication.
But we still didn't have anything iOS-wide to handle the simply task of going back to where we came from. Not until now.
How universal linking works
With iOS 9 and universal linking, Apple is establishing a better way to handle inter-app communications. Not the kind of inter-app communications already offered by Extensibility, which debuted in iOS 8 and let one app open a view controller and offer features to the system or another app, but something else. But ???
The goals for seamless linking were:
- To let apps connect to each other as easily as links let websites and pages.
- To enabled a trusted relationship between a website and its associated app.
- To link to apps, if and when installed, but otherwise fall back gracefully to Safari.
- To protect privacy and security.
To accomplish this, Apple starts with standard web links. Apple has to in order to maintain backwards compatibility with Safari. With that link, they start to break it down.
- The scheme has to begin with http or https, again for backwards compatibility with Safari.
- The domain name, which has to be securely associated with a companion app. That's done by using an SSL certificate that's used to sign a file that's then stored on the developers' web server.
- The path or path prefix, which can be translated to specific content in the app, or exclude content that doesn't (or doesn't yet) exit in the app.
If iOS doesn't find an app on your device that can handle a URL, it simply sends it to Safari. If it does find an app that's associated with the URL, it sends it to the app.
Back links are different in kind. With iOS 9, when you tap on something in one app that takes you to another, when you get to the new app, a very small back arrow appears at the very top left of the screen. Along with the arrow is text reading "Back to" and the name of the app you came from. Tap on the arrow or the text and you're sent right back not only to previous app, but to exact screen you left.
It's not the same as the back button or gesture inside an app. Those both still exist but remain exclusive to intra-app navigation. This is for inter-app communication. It's more complex and more cluttered but it's also clearer and doesn't cause the kind of confusion or collision a combined button might. (The iPad's four-finger swipe back gesture still exists but remains a power shortcut with nothing in the way of the discoverability or affordance the arrow and text provide.)
So, for example:
- You're exchanging iMessages when you receive a link to a tweet.
- You tap on the link, bracing yourself for m.twitter.com but instead the Twitter app opens and takes you right to the tweet.
- You read it, laugh or cry, and then start reaching for the Home button to double-click into the fast app switcher to look for the Messages app, when the "Back to Messages" link at the top of the page catches your eye.
- You tap it and you're right back in iMessage, sharing your laughter and tears.
Developers and deep links
For developers, adding support for app links in iOS 9 is similar to adding support for Continuity's handoff between app and web, or shared web credentials, from iOS 8. A JSON app-site association file has to live on your HTTPS server that includes details like application identifiers and which sections and/or pages of the website the app supports, for all domains that it supports.
When a universal link is sent to an app, developers can make sure it matches the type of activity they're expecting, and then begin to parse it. If the link is outdated or just plain wrong, the developer needs to figure out how to handle it as gracefully as possible, whether it be via notification, redirect back to Safari, or some other mechanic. If the link is good, the developer needs to translate it to a location in the app and take the user there.
Developers also need to add associated website domains to their app's entitlements in Xcode.
Apple stressed that, for reasons of security and privacy, developers should make sure they transport data between the web and apps using HTTPS. (Apple is adding App Transport Security as a forward looking safeguard for these types of data exchanges.)
Back links, by contrast, are handled by the system and every app gets support for it simply by running on iOS 9.
Owners only
Because of how deep links are implemented, including the need to link apps and web sites together, only a developer that owns both the app and the websites can create the link. That means twitter.com can deep link to Twitter.app, but Tweetbot or Twitterrific would have no way to offer themselves as alternatives—they don't own the website.
This is for security reasons. You don't want random apps or websites trying to hijack you when you click a Facebook link or open the Pinterest app.
Getting deep
Deep links come with numerous advantages. They create a better more seamless experience for iPhone and iPad users, moving them cleanly from app to app with now awkward Safari interception or redirections in between. They maintain compatibility with Safari and other browsers, however, if the app isn't installed or if the link isn't being opened on iOS. Best of all, they do it securely and while maintaining privacy.
Back links come with one advantage, but it's a major one. They move you back to where you came from, and they do it in a way that's not only consistent but, thanks to labeling, always completely predictable.
I'll save the details and assessments for my iOS 9 review, coming this fall when Apple ships, so for now I'll leave it at this—Instead of being "just a big iPhone", the iPad has become "two or three big iPhones", and that makes it exponentially more useful.

Senaste inläggen
- Macbook Air M4-benchmark har läckt – imponerar med nästan Macbook Pro-prestanda
- Apple förbereder integration av Google Gemini i Apple Intelligence
- Windscribe VPN – snabb och effektiv vpn för Mac
- Kalifornien nominerar Steve Jobs till den amerikanska innovationsdollarn
- Kalifornien nominerar Steve Jobs till den amerikanska innovationsdollarn
Senaste kommentarer
Arkiv
- februari 2025
- januari 2025
- september 2024
- augusti 2024
- juli 2024
- juni 2024
- maj 2024
- april 2024
- mars 2024
- februari 2024
- januari 2024
- december 2023
- november 2023
- oktober 2023
- september 2023
- augusti 2023
- juli 2023
- juni 2023
- maj 2023
- april 2023
- mars 2023
- februari 2023
- januari 2023
- december 2022
- november 2022
- oktober 2022
- september 2022
- augusti 2022
- juli 2022
- juni 2022
- maj 2022
- april 2022
- mars 2022
- februari 2022
- april 2021
- mars 2021
- januari 2021
- december 2020
- november 2020
- oktober 2020
- september 2020
- augusti 2020
- juli 2020
- juni 2020
- maj 2020
- april 2020
- mars 2020
- februari 2020
- januari 2020
- december 2019
- november 2019
- oktober 2019
- september 2019
- augusti 2019
- juli 2019
- juni 2019
- maj 2019
- april 2019
- mars 2019
- februari 2019
- januari 2019
- december 2018
- november 2018
- oktober 2018
- september 2018
- augusti 2018
- juli 2018
- juni 2018
- maj 2018
- april 2018
- mars 2018
- februari 2018
- januari 2018
- december 2017
- november 2017
- oktober 2017
- september 2017
- augusti 2017
- juli 2017
- juni 2017
- maj 2017
- april 2017
- mars 2017
- februari 2017
- januari 2017
- december 2016
- november 2016
- oktober 2016
- september 2016
- augusti 2016
- juli 2016
- juni 2016
- maj 2016
- april 2016
- mars 2016
- februari 2016
- januari 2016
- december 2015
- november 2015
- oktober 2015
- september 2015
- augusti 2015
- juli 2015
- juni 2015
- maj 2015
- april 2015
- mars 2015
- februari 2015
- januari 2015
- december 2014
- november 2014
- oktober 2014
- september 2014
- augusti 2014
- juli 2014
- juni 2014
- maj 2014
- april 2014
- mars 2014
- februari 2014
- januari 2014
Kategorier
- –> Publicera på PFA löp
- (PRODUCT) RED
- 2015
- 25PP
- 2nd gen
- 32gb
- 3D Touch
- 3D-kamera
- 4k
- 64gb
- 9to5mac
- A10
- A9X
- Aaron Sorkin
- Accessories
- adapter
- AirPlay
- AirPods
- Aktiv
- Aktivitetsarmband
- Aktuellt
- Alfred
- Allmänt
- AMOLED
- Android Wear
- Angela Ahrendts
- Ångerätt
- Animal Crossing
- Animal Crossing New Horizons
- announcements
- Ansiktsigenkänning
- app
- App Store
- Appar
- Apple
- Apple Beta Software Program
- Apple Book
- Apple CarPlay
- Apple Event
- Apple iMac
- Apple Inc
- Apple Inc, Consumer Electronics, iCloud, iOS, iPhone, Mac, Mobile, Personal Software, Security Software and Services
- Apple Inc, iCloud
- Apple Inc, iOS
- Apple Inc, Mobile Apps
- Apple Inc, Monitors
- Apple Mac Mini
- Apple Macbook
- Apple MacBook Air
- Apple MacBook Pro
- Apple Macos
- Apple Maps
- Apple Music
- Apple Music Festival
- Apple Music Radio
- Apple Offer
- Apple Online Store
- Apple Park
- Apple Pay
- Apple Pencil
- Apple Podcast
- Apple Store
- Apple Store 3.3
- Apple TV
- apple tv 4
- Apple TV 4K
- Apple Watch
- Apple Watch 2
- Apple Watch 8
- Apple Watch 9
- Apple Watch Apps
- Apple Watch SE
- Apple Watch Series 2
- Apple Watch Sport
- Apple Watch Ultra
- Apple Watch, Headphones
- Apple Watch, iPhone
- AppleCare
- AppleTV
- Application
- Applications
- Apps
- AppStore
- Apptillägg
- Apptips
- AppTV
- April
- Arbetsminne
- armband
- Art Apps
- Återköp
- återvinning
- Åtgärdsalternativ
- atvflash
- Audio Apps
- Augmented REality
- Back-to-school
- Bakgrundsbilder
- BankId
- Barn
- Batteri
- batteriskal
- batteritid
- Beats
- Beats 1
- Beats Solo 2 Wireless
- Beats Solo2
- Bebis
- Beginner Tips
- Belkin
- Bendgate
- beta
- Beta 3
- betaversion
- betaversioner
- bilddagboken.se
- bilder
- bilhållare
- billboard
- Bioteknik
- Blendtec
- Bloomberg
- Bloons TD 5
- Bluelounge
- Bluetooth
- Böj
- Booking.com
- Borderlinx
- bose
- bugg
- Buggar
- Buggfixar
- Butik
- C More
- Calc 2M
- Camera
- Camera Apps
- Campus 2
- Canal Digital
- Carpool Karaoke
- Caseual
- Catalyst
- CES 2015
- Chassit
- Chip
- Chrome Remote Desktop
- Chromecast
- citrix
- clic 360
- CNBC
- Computer Accessories
- Computer Accessories, Laptop Accessories
- Connect
- Cydia
- Dagens app
- Dagens tips
- Damm
- Danny Boyle
- Data
- datamängd
- Datorer
- Datortillbehör
- Datum
- Defense
- Dekaler
- Designed by Apple in California
- Developer
- Development
- Digital Inn
- Digital Touch
- Digitalbox
- DigiTimes
- Direkt
- Discover
- display
- DisplayMate
- Dive
- Docka
- Dräger 3000
- Dropbox
- Droples
- DxOMark
- E-post
- earpod
- EarPods
- Earth Day
- Eddie Cue
- eddy cue
- Educational Apps
- Ekonomi
- Ekonomi/Bransch
- El Capitan
- Elements
- ElevationLab
- Elgato Eve
- Elgato Eve Energy
- EM 2016
- Emoji
- emojis
- emoticons
- Enligt
- Entertainment Apps
- EU
- event
- Eventrykten
- EverythingApplePro
- Faceshift
- facetime
- Fäste
- Featured
- Features
- Feng
- Film / Tv-serier
- Filmer
- Filstorlek
- Finance Apps
- Finder For AirPods
- Finland
- FireCore
- Fitbit
- Fitness Accessories
- Fjärrstyr
- Flurry
- Födelsedag
- fodral
- Förboka
- Force Touch
- förhandsboka
- Första intryck
- Forumtipset
- foto
- FoU (Forskning och Utveckling)
- Fource Touch
- Foxconn
- FPS Games
- Framtid
- Fre Power
- Frontpage
- Fullt
- Funktioner
- Fuse Chicken
- Fyra
- Gadgets
- Gagatsvart
- Gamereactor
- Games
- Gaming
- Gaming Chairs
- Gästkrönika
- General
- Gigaset
- Gitarr
- Glas
- GM
- Google Maps
- Google Now
- gratis
- grattis
- Guide
- Guider
- Guider & listor
- Guld
- hack
- Halebop
- hållare
- Hälsa
- Hårdvara
- HBO
- HBO Nordic
- Health
- Health and Fitness
- Health and Fitness Apps
- Hej Siri
- Helvetica Neue
- Hemelektronik
- Hemknapp
- Hemlarm
- Hermes
- Hitta min iphone
- Hjärta
- högtalare
- HomeKit
- HomePod
- Homepod Mini
- hörlurar
- htc
- Hue
- Humor
- i
- I Am A Witness
- IBM
- iBolt
- iBomber
- iBook
- icar
- iCloud
- iCloud Drive
- iCloud Voicemail
- iCloud.com
- iDevices
- IDG Play
- idownloadblog
- iFixit
- ikea
- iKörkort
- iLife
- Illusion Labs
- iMac
- IMAP
- iMessage
- iMessages
- iMore Show
- Incipio
- InFuse
- Inspelning
- Instagram-flöde
- Instrument
- Intel
- Internet/Webbtjänster
- iOS
- iOS 10
- iOS 12
- iOS 17
- iOS 18
- iOS 5
- iOS 7
- iOS 8
- iOS 8 beta
- iOS 8.1.3
- iOS 8.2
- iOS 8.3
- iOS 8.4
- iOS 8.4.1
- iOS 9
- iOS 9 beta 4
- iOS 9.1
- iOS 9.1 beta 2
- iOS 9.2
- iOS 9.2.1
- iOS 9.3
- IOS Games
- ios uppdatering
- iOS, iPad, MacOS
- iOS, iPhone
- ios9
- iPad
- iPad Accessories
- iPad Air
- iPad Air 2
- iPad Air 3
- iPad Air 5
- iPad Apps
- iPad Mini
- iPad mini 4
- iPad Mini 6
- iPad mini retina
- iPad Pro
- iPad, iPhone, Mac
- iPad, iPhone, Mobile Apps
- iPad, iPhone, Streaming Media
- iPados
- iphone
- iPhone 12
- iPhone 14
- iPhone 14 Pro
- iPhone 15
- iPhone 16
- iPhone 17
- iPhone 5
- iPhone 5S
- iPhone 5se
- iPhone 6
- iphone 6 plus
- iPhone 6c
- iPhone 6s
- iPhone 6S plus
- iPhone 7
- iPhone 7 display
- iPhone 7 Plus
- iPhone 7s
- iPhone Accessories
- iPhone Apps
- iPhone Cases
- iPhone SE
- iphone x
- iPhone XS
- iPhone XS Max
- iPhone, Mobile Apps
- iPhone7
- iPhoneGuiden
- iPhoneguiden.se
- iPhones
- iPod
- iPod Nano
- iPod shuffle
- ipod touch
- iSight
- iTunes
- iWatch
- iWork
- iWork för iCloud beta
- Jailbreak
- James Corden
- Jämförande test
- Jämförelse
- Jet Black
- Jet White
- Jönssonligan
- Jony Ive
- Juice Pack
- Juridik
- Just mobile
- kalender
- kalkylator
- Kamera
- Kameratest
- Karriär/Utbildning
- Kartor
- Kevin Hart
- keynote
- Keynote 2016
- KGI
- KGI Security
- Kina
- Klassiskt läderspänne
- Kod
- Kollage
- koncept
- konceptbilder
- köpguide
- krasch
- Krascha iPhone
- Krönika
- Kvartalsrapport
- Laddhållare
- laddningsdocka
- Laddunderlägg
- läderloop
- lagar
- Lagring
- Lajka
- Länder
- lansering
- laserfokus
- Layout
- leather loop
- LG
- Liam
- Lifeproof
- Lightnigport
- lightning
- Linux
- LinX
- live
- Live GIF
- Live Photos
- Live-event
- Livsstil
- Ljud & Bild
- Logitech
- LOL
- Lösenkod
- Lösenkodlås
- Lovande spel
- LTE
- Luxe Edition
- M3
- M3TV
- Mac
- Mac App Store
- Mac Apps
- Mac Mini
- Mac OS
- Mac OS X
- Mac OS X (generellt)
- Mac OS X Snow Leopard
- Mac Pro
- Mac, MacOS
- Mac, Online Services
- Mac, Security Software and Services
- Macbook
- Macbook Air
- Macbook Pro
- MacBook, MacOS
- Macforum
- Macintosh
- macOS
- MacOS, Security Software and Services
- Macs
- MacWorld
- Made for Apple Watch
- magi
- Magic
- MagSafe
- Martin Hajek
- matematik
- Meddelanden
- Media Markt
- Medieproduktion
- Mediocre
- Messaging Apps
- Messenger
- MetaWatch
- Mfi
- Michael Fassbender
- microsoft
- Mikrofon
- Minecraft
- Ming-Chi Kuo
- miniräknare
- minne
- Mixer
- Mixning
- Mjukvara
- mobbning
- Mobile Apps
- Mobile Content
- Mobilt
- Mobilt/Handdator/Laptop
- Mobiltelefon
- Mockup
- Mophie
- mors dag
- moto 360
- Motor
- MTV VMA
- multitasking
- Music
- Music Apps
- Music, Movies and TV
- Musik
- Musikmemon
- MW Expo 2008
- native union
- Nätverk
- Navigation Apps
- nedgradera
- Netatmo Welcome
- Netflix
- Netgear Arlo
- News
- Niantic
- Nike
- Nikkei
- Nintendo
- Nintendo Switch
- Nöje
- Norge
- Notis
- Notiscenter
- nya färger
- Nyfödd
- Nyheter
- Officeprogram
- Okategoriserade
- OLED
- omdöme
- Omsättning
- OS X
- OS X El Capitan
- OS X Mavericks
- OS X Yosemite
- Outlook
- Övrig mjukvara
- Övrigt
- PanGu
- papper
- patent
- PC
- pebble
- Pebble Smartwatch
- Pebble Steel
- Pebble Time
- Pebble Time Steel
- Persondatorer
- Petter Hegevall
- PewDiePie
- Philips
- Philips Hue
- Phones
- Photoshop
- Planet of the apps
- Plex
- Pluggar
- Plus
- Plusbox
- Podcast
- Podcast Apps
- Pokemon
- Pokemon Go
- Policy
- Porträttläge
- PP
- Pris
- priser
- problem
- Problems
- Productivity Apps
- Program
- Prylar & tillbehör
- Publik
- publik beta
- QuickTime
- räkenskapsår
- räkna
- ram
- RAM-minne
- Rapport/Undersökning/Trend
- Rea
- Reading Apps
- recension
- Red
- reklaamfilm
- reklam
- reklamfilm
- reklamfilmer
- rekord
- Rendering
- reparation
- Reportage
- Reptest
- ResearchKit
- Retro
- Review
- Ring
- Ringa
- Rocket Cars
- Rosa
- Rumors
- Rumours
- RunKeeper
- rykte
- Rykten
- Safir
- Säkerhet
- Säkerhetsbrist
- Samhälle/Politik
- samsung
- Samtal
- San Francisco
- SAP
- security
- Series 2
- Servrar
- Shigeru Miyamoto
- Sia
- Simulation Games
- Siri
- SJ Min resa
- skal
- Skal iPhone 6
- skal iPhone 6s
- skärm
- SKärmdump
- Skärmglas
- Skribent
- skribenter medarbetare
- Skriva ut
- skruvmejsel
- skydd
- Skyddsfilm
- Skype
- slice intelligence
- Smart
- smart hem
- Smart Home
- Smart Keyboard
- Smart klocka
- Smart Lights
- smartphone
- Smartwatch
- SMS
- Snabbt
- Snapchat
- Social Apps
- Software
- Solo2
- sommar
- Sonos
- Sony
- soundtouch
- Space Marshals
- spår
- Speakers
- Special Event
- Spel
- Spelkonsol
- Spellistor
- Split Screen
- Split View
- Sport
- Sportband
- Sports Apps
- spotify
- Spring forward
- Statistik
- Steve Jobs
- Stickers
- Stockholm
- Stor iPhone
- Storlek
- Story Mode
- Strategy Games
- streama
- Streaming
- Streaming Devices
- Streaming Media
- stresstest
- Ström
- Studentrabatt
- stylus
- Super Mario Run
- support
- Surf
- Surfplatta
- svenska
- sverige
- Sverigelansering
- Switch
- Systemstatus
- Systemutveckling
- tåg
- Taig
- Tangentbord
- Taptic Engine
- Tårta
- tät
- Tävling
- Taylor Swift
- Teknik
- tele 2
- Telefoner
- Telekom
- Telia
- Test
- Tid
- TikTok
- Tile
- tillbehör
- Tim Cook
- TIME
- TimeStand
- Tiny Umbrella
- Tips
- Toppnyhet IDG.se
- Touch ID
- TouchID
- tower defence
- trådlös laddning
- Trådlösa hörlurar
- trådlöst
- trailer
- Travel Apps
- Tre
- TrendForce
- TripAdvisor
- Trolleri
- trump
- TSMC
- Tum
- tv
- TV Apps
- tvätta
- tvOS
- tvOS 9.2
- tvOS beta 2
- Tweak
- Typsnitt
- Ubytesprogram
- UE MegaBoom
- Unboxing
- Underhållning/Spel
- unidays
- United Daily News
- Unix
- Updates
- Uppdatera
- uppdatering
- Upplösning
- upptäckt
- USA
- Ut på Twitter
- utbyte
- utbytesprogram
- Utilities Apps
- Utlottning
- utrymme
- utvecklare
- varumärke
- Vatten
- Vattentålig
- vattentät
- vävt nylon
- Verktyg
- Viaplay
- Vibrator
- video
- Videoartiklar och webb-tv (M3/TW/CS)
- Villkor
- viloknapp
- Virtual Reality
- Virus
- visa
- Vision Pro
- VLC
- Volvo on call
- VPN
- W1
- Waitrose
- Watch OS
- WatchOS
- WatchOS 2
- watchOS 2.0.1
- watchOS 2.2
- Webbtv (AppTV)
- wi-fi
- Wifi-samtal
- Windows
- Windows 8
- WWDC
- WWDC2015
- yalu
- Youtube
- Zlatan