mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-03 22:22:02 +00:00 
			
		
		
		
	Merge pull request #645 from timonus/make-url-scheme-work
Handle deep links.
This commit is contained in:
		@@ -19,4 +19,12 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
 | 
			
		||||
        #endif
 | 
			
		||||
        return true
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
 | 
			
		||||
        if url.scheme == "yattee" {
 | 
			
		||||
            OpenURLHandler.handle(url)
 | 
			
		||||
            return true
 | 
			
		||||
        }
 | 
			
		||||
        return false
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user