Inject JavaScript into WKWebView
Swift Developer Blog
by Sergey Kargopolov
2y ago
In Swift, it is possible to inject a JavaScript code into a WKWebView and execute it from your app. The below code example demonstrates how to: Load HTML file from a local file, Load JavaScript code from a local file, Create WKUserScript object, Inject JavaScript into an HTML document. Load HTML File From App Bundle… The post Inject JavaScript into WKWebView appeared first on Swift Developer Blog ..read more
Visit website
WKWebView. Load HTML File from App Bundle.
Swift Developer Blog
by Sergey Kargopolov
2y ago
In Swift you can load HTML files into your WKWebView from an file which is part of your App Bundle. Before you use the below code snippet, please make sure that the HTML file you want to display in WKWebView is added to your project. Load Local HTML File to a WKWebView let myUrl = myProjectBundle.url(forResource: "my-html-file",… The post WKWebView. Load HTML File from App Bundle. appeared first on Swift Developer Blog ..read more
Visit website
UIImagePickerController in Swift with Firebase. Cheat Sheet.
Swift Developer Blog
by Sergey Kargopolov
2y ago
This blog post is more of a cheat sheet type on how to use UIImagePickerController in Swift with Firebase to upload a user profile image to Google cloud. I am also going to include here a video demonstration taken from my video course “Firebase and Swift: Practical examples“. This video will demonstrate the use of the below code… The post UIImagePickerController in Swift with Firebase. Cheat Sheet. appeared first on Swift Developer Blog ..read more
Visit website
Firebase Realtime Database Cheat Sheet
Swift Developer Blog
by Sergey Kargopolov
2y ago
This page lists down different Swift code snippets which demonstrate how to work with Firebase Realtime Database. I like to have this page handy when working a mobile app for iOS platform with Swift and Firebase. Set up Firebase Realtime Database Dependencies to install with Cocoapods pod 'Firebase/Database' Configure a FirebaseApp shared instance, in your application’s… The post Firebase Realtime Database Cheat Sheet appeared first on Swift Developer Blog ..read more
Visit website
Push Notifications with Firebase Cloud Messaging – Cheat Sheet
Swift Developer Blog
by Sergey Kargopolov
2y ago
Add Required Libraries to Xcode Project with Cocoapods pod 'Firebase/Core' pod 'Firebase/Messaging'  Enable Push Notifications in Capabilities Tab Enable Background Modes in Capabilities Tab Note: Additionally to enabling the Background Modes, you also need to enable the Remote notifications mode by checking its checkbox as shown in the image below. AppDelegate.swift – Libraries to Import import… The post Push Notifications with Firebase Cloud Messaging – Cheat Sheet appeared first on Swift Developer Blog ..read more
Visit website
Facebook Login Button with Firebase and Swift
Swift Developer Blog
by Sergey Kargopolov
2y ago
With this blog post, I wanted to share with you a few videos I have recorded for my video course Firebase and Swift: Practical examples. The videos in this blog post demonstrate how to add Facebook Login button to your mobile application built with Swift and how to authenticate the user with their Facebook credentials.… The post Facebook Login Button with Firebase and Swift appeared first on Swift Developer Blog ..read more
Visit website
Firebase Remote Config with Swift
Swift Developer Blog
by Sergey Kargopolov
2y ago
Make your mobile app remotely configurable with Firebase Remote Config and you will be able to remotely enable or disable app UI elements, images, texts, labels and even change app behavior when needed. And all of it without a need to release a new version of the app to the app store and wait for… The post Firebase Remote Config with Swift appeared first on Swift Developer Blog ..read more
Visit website
Firebase Cloud Functions with Swift
Swift Developer Blog
by Sergey Kargopolov
2y ago
I am becoming a big fun of Serverless architecture in the cloud and recently started reading a lot on how to build RESTful Web Services in the Cloud without starting your own server. Of course, I quickly came across Firebasebase Cloud Functions and I liked it a lot. Firebase Cloud Functions is one of those… The post Firebase Cloud Functions with Swift appeared first on Swift Developer Blog ..read more
Visit website
Silent Remote Notifications with Swift and Firebase
Swift Developer Blog
by Sergey Kargopolov
2y ago
With this blog post, I would like to share with you how to send Silent Push Notification using CURL or Postman HTTP client via Firebase Cloud Messaging and how to receive silent push messages in your mobile app built with Swift. Silent push messages when received by your mobile app are not displayed to user… The post Silent Remote Notifications with Swift and Firebase appeared first on Swift Developer Blog ..read more
Visit website
Firebase Social Authentication. Sign In with Twitter Account in Swift.
Swift Developer Blog
by Sergey Kargopolov
2y ago
In this Swift programming tutorial we will learn how to implement Sign in with Twitter account button using Firebase Social Authentication and Swift.  If you are interested in learning how to use Firebase Social Authentication to implement Sign-in with Google account or Facebook, please check the below two tutorials I have published earlier: Firebase Social Authentication.… The post Firebase Social Authentication. Sign In with Twitter Account in Swift. appeared first on Swift Developer Blog ..read more
Visit website

Follow Swift Developer Blog on FeedSpot

Continue with Google
Continue with Apple
OR