It is always a good idea to turn off the auto-update for development devices. But since your device is at a higher version now and Xcode is not recognizing it, you need to add support for it. There are two solutions Download latest Xcode Add device support files to your existing Xcode Since the first … Read more
While doing pod install many of us have come across this issue. There are few standard approaches towards dealing with this 1. pod update In some cases following steps could help Delete Podfile.lock Run pod update instead of pod install Pod update will update all the pods to latest version while respecting the Podfile version … Read more
In order to work with Postgres and node, Pg is the way to go. First, you need to install the pg module by running npm i pg. After that create a folder in your project and for now, let it name db. Inside that folder create an index.js file and add the given code to it. … Read more
We understand that AVPlayerViewController is a ViewController and like all view controllers, it takes full view when it’s either pushed or presented. But it can also be rendered as a subview with a custom frame by adding it as a child viewcontroller. The approach is pretty straightforward. The code given below plays a video from … Read more
Saving Array is pretty straightforward Ready array is also quite simple you can remove the array by usng Cheers !!!
Get the youtube video URL Add WKWebView to your UIView using code. Somehow it works better when added through code. Your resulting code will look like this 3. Now create a request with your youtube URL and add ?playsinline=1 this will play video inline. The resulting code will look like this To get the best … Read more
While creating @IBOutlet for WKWebView you might have come across an error message in Xcode This can be simply resolved by importing WebKit. The resulting code will look like Cheers !!!
We have a table view setup and is working fine now suppose the data changes in the data source and you have to reflect that change in UITableView. At first, it seems that this problem can be solved easily by using tableview.reloadData(). Using reloadData works for a small tableview but when the table view is … Read more
Recently I ran into a situation where I had to make two independent API requests and one of the API requests was discardable. I was sure that Observable.zip was the way to go. So i went ahead and implemented, My code looked something like this This was apparently very easy to implement and worked well … Read more
While implementing Notification Service you come across a situation where you have implemented all the code mentioned in the tutorial and still your is not getting called. So here I present you with checkpoints and in 99% of the cases, one of the points will work. For other 1% may force be with you. 1. … Read more