WepsTech
Your Daily Dose of Tech News
Hey, Guys welcome to this tutorial. Here, I am going to tell you that how you integrate the google login in your iOS application with a swift 5 programming language. In this tutorial, I will tell you with the help of a very simple example. And I am sure after watching the complete video. You will also feel that this is very simple to integrate google authorization in your iOS application. For deep integration, you have to watch the complete video.
πππππ
So, And after watching the complete video if you feel itβs somewhat useful for you. Then click on like button and leave your feedback also. ππππ And Finally do not forget to subscribe to this YouTube Channel. Thanks for watching and reading this. ππ
So, Please find the video belowππ»ππ»ππ»
Very good, So, Below is the important code about this video. At the very first please open the below link.
pod 'GoogleSignIn'
Now import package in you AppDelegate.swift
import GoogleSignIn
Initialize Google Client Key, as mention into the video
GIDSignIn.sharedInstance().clientID = "YOUR_AUTH_KEY"
After that, Add `OpenURLOptionsKey` function your AppDelegate.swift file.
//MARK: Function for handling Google login interaction with Google Application and your application. func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { return (GIDSignIn.sharedInstance()?.handle(url))! }
Great after that write the following code as per Youtube video suggestion in your Google Login View controller.
GIDSignIn.sharedInstance()?.presentingViewController = self
GIDSignIn.sharedInstance()?.signIn()
So Finally you have to with all the messers steps.
In Conclusion, You have done with this tutorial. And hope now the concept of Open new View Controller on button click in iOS with Swift 5. If you have any doubts regarding the Open New View Controller on button click in iOS with Swift 5 then you can comment into the comment box. And if you like this tutorial with a complete description of the simple and attractive tutorial in iOS then please like my video on YouTube and do not forget to subscribe to my YouTube channel. Because you will get lots of videos related to swift development with very sort tricks.
Besides, If you are more curious about the development and knowing about tutorials then follow the below links ππ»ππ»ππ»π
Licensed Wooden Car
Comoros
workforce
1080p
Pushpendra Kumar
?
initiatives
Computer
Pushpendra Kumar
?
multi-byte
payment
Pushpendra Kumar
What?
Ethiopia
Factors
Integration
Berkshire
Nebraska
partnerships
Pushpendra Kumar
What kind of?