Starting from Swift 5.8 you can adopt upcoming Swift features using a new compiler flag and compilation condition.
Let see how you can use it in your projects.
Technology Makes A Wonderful World
Starting from Swift 5.8 you can adopt upcoming Swift features using a new compiler flag and compilation condition.
Let see how you can use it in your projects.
iOS – Apple provides screenshot detection notification but not providing direct solution for prevention.
Here I found solution for preventing screenshot taking from the UIView. It’s a simple extension of the UIView that allows to hide it from screen-capturing and also from screen recording. The solution uses ability of UITextField to hide a password from capturing.
Usage:
viewSecure.preventScreenshot()
So, when you take screenshot the logic of text field secure entry (password text field) will not allow to take screenshot of that part.
Update: Here is recursive function for preventing screenshot.
If you like then Buy me a coffee ☕️
Let me know if you have any questions, comments, or feedback – contact me on Twitter.
Stay Safe At Home. Learn Something New. Share To The World.
Happy Coding 🙂
Picker is a control in SwiftUI which allows you to select a value from a list of possible options. There are many types of inbuilt pickers coming in SwiftUI and it’s really easy to implement.
Let see how to create navigation bar in SwiftUI.
Widget in iOS is massive update by Apple. Today we will discuss about the deep link on widget.
As per apple suggestions small widget have single tap target, medium and large widget can have multiple tap targets. For Example, a widget with multiple photos can have different tap targets to perform action on the specific photo.
Apple suggested to avoid offering so many targets that people have trouble tapping the one they want.
Let see how we can add it by code…
iOS 14 comes up with three new concepts of pickers, which are Menu, Date Picker and Color Picker. All of this will be useful for the developers as well as users of iOS. Today we will learn about the UIColorWell and UIColorPickerViewController.
Now a days Fabric is sending notice for migrating, as I got email today about [FINAL NOTICE] Fabric is shutting down May 4, 2020. We can move to the new Firebase Crashlytics SDK.
Integrating the new Firebase Crashlytics SDK is quick and easy. Let’s take a look.