Тёмный

Background Fetch in Swift 3 

Vasil Blanco-Nunev
Подписаться 4,4 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@akhilkailas
@akhilkailas 6 лет назад
Nice tutorial bro..Can you make a tutorial with live fetching of data from an url in background fetch , plz...
@pedro8769
@pedro8769 5 лет назад
Great tutorial, straight to the point. Subscribed.
@mauri1221
@mauri1221 7 лет назад
Awsome!! You were a big help and the way you teach is perfect you deserve waaayy more subscribers!! But can you please make a video on how to handle with the response of a server by the delegate? i'm stucking on this for days now and there is no clear solution in the web :(
@dieselbstlosesuchenachwahr8151
I was surprised when I saw this small number of followers in relation to others. Make another separate video about the delegate and completion Handler
@VasilNunev
@VasilNunev 7 лет назад
Hey Hassan, I will most definetly do. I think it is very important for people to know how they could set a URLSession running in the background. Also thanks for your support :)
@NishantNarola
@NishantNarola 4 года назад
Hello sir...all of your videos are very perfect and easy to understand. Just one request can you make video on searchbar whichs searches tableview data and if match not found then display image and title label inncenter of tableview that no data found
@cristobalvargas9633
@cristobalvargas9633 6 лет назад
nice tutorial. helps to understand the basics. but the most important part how to make external network requests is missing.
@RohitSharma-lz8db
@RohitSharma-lz8db 6 лет назад
Nice one... Kindly make a video on Background fetch with urlsession with demo so that we could have got the idea about that.
@RyuuzakiJulio
@RyuuzakiJulio 7 лет назад
I had been trying to implement this for months but still can't make it work. I have seen so much WDC or whatever they are called, and I still can't get it, do you do videos for Apple Watch?
@Nunny25
@Nunny25 3 года назад
Hi Vasil, nice tutorial, will You update it for SwiftUI and current requirements? Thanks 😊 🙏
@saeids7842
@saeids7842 7 лет назад
Hey Vasil, Thanks to this video, I would like to ask you, is it possible to push back to the application automatically (using a countdown timer or receiving a local notification), when it's in Background?
@VasilNunev
@VasilNunev 7 лет назад
by sending a local notification if the user taps the notification it will launch your app. You can't force the application to open with a timer or without the user's knowledge of how the app opened.
@na_you_mess_am
@na_you_mess_am 6 лет назад
Please I urgently need your advice, Can I make an application that will run in the background and notify users when it detects a certain wifi ssid? option two, can I make the app notify the user when he is close to the location, by collection current location and comparing with markers? how can i approach this problem
@CarlosRamirez-bz7ic
@CarlosRamirez-bz7ic 3 года назад
someone help me, I get the following error on line 25 Cannot find 'window' in scope
@빡구-h4w
@빡구-h4w 5 лет назад
respect you
@dimoreno9398
@dimoreno9398 7 лет назад
Hello Vasil I am making a messaging app with socket.io and I want to know if it is possible to implement background fetch. my scenario is when a user sends a new message this arrives and my background fetch launches a local notification of the message that arrived. Is it possible to do this?. Greetings
@progzmasters
@progzmasters 6 лет назад
I wonder why would you want to use background fetch to get some data through internet instead of doing it manually on app launch. After all a new content might always become available between the fetch is done and the app launches so if you want to provide always the latest content to the user you are forced to fetch it yourself at the time the app launches and not sooner.
@yogendrakarekar2799
@yogendrakarekar2799 5 лет назад
can I use alamofire for background fetch
@Traoreee
@Traoreee 5 лет назад
grazie mille
@mkumaranlog
@mkumaranlog 6 лет назад
I want to run my app in background continuously for 24/7 to send the location of the user in swift I use the timer function to continuously for the period of time, every thing is working fine but the backgroundtimeremaining is the problem When the background session expires it end the background process Can you please make a video to run background process continuously without background task end
@subrajits
@subrajits 5 лет назад
Will this also fire if my app is force closed?
@krishnakirana8399
@krishnakirana8399 4 года назад
Will it work if application is killed by the user
@emmanuelogbewe2334
@emmanuelogbewe2334 7 лет назад
Hey great tutorial , I was wondering how can I store a video on firebase storage and also have it store in firebase database and have it downloaded and played in an avplayer ?
@VasilNunev
@VasilNunev 7 лет назад
Hey Emmanuel, its pretty straight forward, you upload the video to the Firebase Storage and when you upload it there you will get a downloadURL which you will use to store that video in the database and so then your app will look through the database and play the video from the URL in that database that points to the video in the storage.
@emmanuelogbewe2334
@emmanuelogbewe2334 7 лет назад
Vasil Nunev hi,yeah I tried this and the link stars out with private/var/mobile/container..: I thought it was suppose to start out with firebaseapp/storage or something like that ? The video URL is coming from a custom camera in my app , and when I try to download the URL from the database and run it into the av player nothing shows ?
@VasilNunev
@VasilNunev 7 лет назад
I think you might be looking at the wrong URL, there must be a download url that points to the firebase storage
@emmanuelogbewe2334
@emmanuelogbewe2334 7 лет назад
Vasil Nunev oh ok so with in the URL it must have firebase storage somewhere within the words ?
@emmanuelogbewe2334
@emmanuelogbewe2334 7 лет назад
Vasil Nunev under my postVideoUrl node in the database the link is file://private/var/mobile/containers/Data/applications....mov
@tinhdoanxuan4668
@tinhdoanxuan4668 4 года назад
Hi, How to renew the data every 5 min in background. I try but it receive data one-time only !
@askreddit-shorts
@askreddit-shorts 4 года назад
I want to achieve the same, do you have found a solution?
@hassanaqibsium3216
@hassanaqibsium3216 6 лет назад
brother can you help with background blue-tooth service with core blue-tooth framework for background scanning?
@freddyhaug9379
@freddyhaug9379 4 года назад
Hassan Aqib Sium story of my life this week
@1918santhoshsk
@1918santhoshsk 7 лет назад
Hey does this work even when application is closed??
@VasilNunev
@VasilNunev 7 лет назад
yes, thats the reason you are doing a background fetch, to retrieve data while the app is closed
@Cdswjp
@Cdswjp 4 года назад
Vasil Nunev I think you’re wrong. Only if app state is in background it will fetch; not if it’s completely inactive
@pasha7324
@pasha7324 6 лет назад
1. RW 2. Copypaste 3. Profit.
@karthikeyansk4697
@karthikeyansk4697 7 лет назад
Nice tutorial, but it wont work with an actual device.
@KimCarlssonRoger
@KimCarlssonRoger 7 лет назад
Same for me. It works fine in the simulator but on the device it crashes.
@vladkleber1012
@vladkleber1012 7 лет назад
Жах. Індуси і то краще розмовляють англійською...
Далее
Swift Background Fetch Tutorial
18:26
Просмотров 13 тыс.
КОСПЛЕЙ НА СЭНДИ ИЗ СПАНЧБОБА
00:57
Getting Directions! (MapKit | Swift 3 in Xcode)
19:27
Frame VS Bound in Swift iOS
7:04
Просмотров 1,7 тыс.
How to Debug using Xcode Debugger
14:30
Просмотров 29 тыс.
Swift: Custom Video Player
35:55
Просмотров 28 тыс.
Xcode Configurations and Flags
21:25
Просмотров 12 тыс.