skip to Main Content

Removing hash from URL on HTTP redirect

I just added a feature on a website to allow users to log in with Facebook. As part of the authentication workflow Facebook forwards the user to a callback URL on my site such as below. https://127.0.0.1?facebook-login-callback?code.....#_=_ Note the trailing…

VIEW QUESTION

Getting URL from firebase storage and setting it to an AVAudioPlayer always throws error (swift xcode)

I'm trying to download a URL from Firebase storage and save it to an AVAudioPlayer func loadAudio(post: CompPost, completion: @escaping (AVAudioPlayer) -> ()) { let audioRef = Storage.storage().reference().child("cPosts").child(post.uid).child("Audio").child(post.mp3) audioRef.downloadURL { (url, error) in print("mp3filename: " + post.mp3) guard error ==…

VIEW QUESTION
Back To Top
Search