Let see how to create navigation bar in SwiftUI.

Technology Makes A Wonderful World
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…
SwiftUI has lots of new features with easiest way of implementation. In this tutorial, you’ll learn how to add fancy 3D animations with SwiftUI.

The rotation3DEffect() modifier gives output like as rotating views in 3D.
This modifier have two parameters:
angle: for rotate view in specified angle/degrees
axis: for X, Y and Z axis to perform rotation.
For Example:
Text("SwiftUI Animations")
.rotation3DEffect(.degrees(45), axis: (x: 1, y: 0, z: 0))
Now we will create one button with rotating view by 3D Effect.
SwiftUI comes with easiest way of coding!
In SwiftUI they have given 3 types of gradients, you can easily show gradients on any of the view.

In gradient option we have to pass array of colors.
SwiftUI announced in WWDC 2019. It’s an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift. In previous blog I have shared some references from apple documents.

We will learn it by examples. First of all let’s start with simple UI.