iOS Application Life Cycle and State | App Delegate vs Scene Delegate | Swift 5 2022
HTML-код
- Опубликовано: 19 сен 2024
- Managing Your App's Life Cycle - Respond to system notifications when your app is in the foreground or background, and handle other significant system-related events in Hindi Swift by Yogesh patel.
👩🏻💻 Hello, If you want to join or have any questions do email me!
codewithyogesh@gmail.com
contact@codewithyogesh.com
🏆 Review:
Here are some of our student's review videos that explain what it's like to learn with us, and why they chose the course
codewithyogesh...
🔗 Suggest Video:Excellent ways to improve swift coding skills and confidence | Enhance Your Problem Solving Skills.
• Excellent ways to impr...
👋🏻 Let's connect!
➡ Instagram: / codewithyogesh
➡ Linkedin: / yogeshpatelios
➡ Twitter: / yogeshpatelios
➡ Facebook Page: / yogeshios
➡ Stack overflow: stackoverflow....
➡ Website: www.codewithyo...
Like, Subscribe and Comment :-)
Thank You!
#iosapp #swift #appdevelopment #ios15 #iosappdevelopment #swiftdeveloper
Hello Good Evening, Here are the questions that I mentioned in the video -
1. What is willFinishLaunchingWithOptions?
2. Difference between willFinishLaunchingWithOptions and didFinishLaunchingWithOptions?
3. What if I return false to the didFinishLaunchingWithOptions method?
Just search on google, add your comment here, Apne fir check Karte hai answer right hai wrong hai then mai answer mera add kar Dunga. Happy Coding :-) Please like, and subscribe for more videos
Answers:
1) willFinishLaunchingWithOptions - This method is intended for initial application setup. Storyboards have already been loaded at this point but state restoration hasn’t occurred yet. This method is called before didFinishLaunchingWithOptions.
2) willFinishLaunchingWithOptions called first at initial level, then once App restoration has been complete, didFinishLaunchingWithOpations has been called.
- willFinishLaunchingWithOptions Tells the delegate that the launch process has begun but that state restoration has not yet occurred.
- didFinishLaunchingWithOptions Tells the delegate that the launch process is almost done and the app is almost ready to run.
3) If we return false to the didFinishLaunchingWithOptions then, app will not able handle the given activity or url such as remote notifications.
Wahh 🤩🤩 All Answers are correct. Keep it up!
Hi Bro, I want to enquire about the classes, how can I reach you?
@@YogeshPateliOS sir but my app still working after returning false in didFinishLaunchingWithOptions so what was the reason behind it.
Thank you for this video Yogeshbhai.
Answers:
1) willFinishLaunchingWithOptions - This method is intended for initial application setup. Storyboards have already been loaded at this point but state restoration hasn’t occurred yet. This method is called before didFinishLaunchingWithOptions.
2) willFinishLaunchingWithOptions called first at initial level, then once App restoration has been complete, didFinishLaunchingWithOpations has been called.
- willFinishLaunchingWithOptions Tells the delegate that the launch process has begun but that state restoration has not yet occurred.
- didFinishLaunchingWithOptions Tells the delegate that the launch process is almost done and the app is almost ready to run.
3) If we return false to the didFinishLaunchingWithOptions then, app will not able handle the given activity or url such as remote notifications.
Wahh 🤩🤩 All Answers are correct. Keep it up!
thank you brother..😁
@@KTV-1996 You are welcome Shivambhai.
Thnx for this video....or jbse pol kiya tha tabse wait kr rha me.😁😁😁 once again thnx sir
Welcome brother. I hope this video is helpful for you :-) Please do like and subscriber.
The way you explained it's really amazing and understandable..Thank you😊
3. This can prevent the app from becoming active, and in some cases, it might lead to the app being terminated.
Bohat behtar tarikese aapne explain kiya i really liked it..thank h for it...
Thank You 😄
Just FYI, Actual video strats at 2:09
Wow🤩. What a detailed and wonderful explanation brother 🙌. The way you explained about app states and the way you showing the same practically made me fully understand the concepts 😁. Lots of respect and support to you brother from me🤗😁. Keep doing this type of detailed videos always ☺️❤️.
Thanks Yogesh… you have explained very well. Thanks a lot
amazing, work done by you,very clear explanation of app lifecycle
Thanks your so much for your appreciation! 😀🤝
boht acche tarike se explain kiya h bhai. Keep it up!
Great explanation bro,Kudos to effort!!
You video are really helping me for my interview thanks….. Yogesh …… from mohali
Hi,
Can you please make tutorial on app state restoration and spotlight search feature.
Yourr videoss 💥
such worth full video Thanks!
Nice Explanation thank you so much @yogesh sir
Hi, sir 10:57 sir i have a question, agr background ki teeno app mei backgroud task chlra hai then?
Return false if the app cannot handle the URL resource or continue a user activity, otherwise return true. The return value is ignored if the app is launched as a result of a remote notification
willfinishlunching called --- when app is ready to launch , before app state work
didfinish will call when app is done with launch or almost ready to finish ,but after app state work complete
i just looking for this type of answer, very simple to understand, thank you😁
Thank u sir for this amazing video.
Thank u sir for the amazing video ✌️
Nice explaination
Nice Explanation
Thanks!
@@YogeshPateliOS Hi yogesh, Please Reply-
i saw a video 1 .5 year before on your channel. which is about App controller cycle.
In which you explain everything from a chart diagram, I am trying to find this video from last 7 days on your channel.
Did you Remove this??????????????????????????????
in which you explain- if url hit then call xyz method if not then call abc method.
Please Help me Out.
@@U-and-Mee I haven't removed any videos. Would you please elaborate more about the video that you are looking for so I can help you.
@@YogeshPateliOS - Application life cycle videoo- first method call did finish launching with options Then Hit url- if yes then go to open url if no then application did become active-
By flow chart diagram you explained everything.
pta nhi- aapki uss video ka Title kya tha. trying to find from last week.
Mai Switch dekh rhi hu, and interview me ye puchhte hi puchhte h.
Can you tell me by what title name should i search for above mentioned Video???
If possible make video on Indian registration number validation in Swift..
thnaks for your vedio
kindly make a vedio on chat using firestore or realtime database
You look like ZAKIR KHAN 🤩
thanks for such a great explanation.
Wow, thanks
Worth Watching
Thank you
Thank you :-) Keep watching
Hi Sir, Hope you are doing well .I want to join ur ios course.Could you please inform me on the same
Why is your app going directly to active state without any event after clicking on the app? You mentioned that the app is in an inactive state until we fire the event.
Thank you very much
You are welcome
Barobar sir😅
Hi Sir, Ur videos are very informative .I want to join ur ios course..Could you please inform me on the same
video start from 3:28
what will happen when we remove the application from our app tray?
Sir will finish launching function executive just before the screen appears or we can say it run just after the viewdidload method
why apple has created separate delegate class for same existing methods ?
Hey bro, I mentioned little bit about multiple window application(provided by Scene Delegate) that's the reason brother.
The main reason for Apple to add UISceneDelegate to iOS 13 was to create a good entry point for multi-windowed applications. By the above theory you might have understood the roles of AppDelegate and SceneDelegate in iOS 13 and their life cycle events.
Let me know is it clear or not? :-)
@@YogeshPateliOS yes, Got it .. ThankYou for clarification 🫡
@@davevinay9964 Welcome 🫡
hello bhai ,
I am not able to reached your website.
Website inactive
can you make videos in english please? everyone can understand english but not everyone can understand hindi
Yes, true. First of all, really sorry for the trouble. Actually I started this channel in hindi language so I continue in same.
Most of all developers are requested me for English language. Soon i am going to creat a new channel about swift language and upload videos on english.
Thanks for your support please bare with me.
@@YogeshPateliOS yes can't wait for that and no problem, thank you for your videos and the effort you make to provide content for us
@@YogeshPateliOS or you can add subtitles only in english. It will good for all .
@@badalshah9995 bro yes its good idea but it will take more time for adding subtitle because my videos are lengthy it terms of duration!