Post

Replies

Boosts

Views

Activity

Right to left page transition in swift ui using navigation link
I am using navigation link to navigate using a button which is log out button when i click the button it takes me straight to login page i want the transition effect of the page to start from right to left instead of the opposite which is occurring              NavigationLink("", destination: login(),isActive: $goWhenTrue)           Button (action: { print("Button Tapped")}, label: {               Text("LogOut")                 .font(.headline)                 .foregroundColor(.white)                 .frame(width: 340, height: 50)                 .background(Color.blue)                 .clipShape(Capsule())                 .padding()                 .onTapGesture {                                       self.goWhenTrue = true                   if ((UserDefaults.standard.string(forKey: "Username") != nil)) {                     UserDefaults.standard.removeObject(forKey: "Username")
0
0
1.1k
Aug ’21
I am having trouble with this question can anybody help me with the solution
Here How to pass argument with function call inside a class and take that argument as parameter from another class function????
Replies
3
Boosts
0
Views
709
Activity
Aug ’21
I am not getting the proper answer for this 2D array addition guys can anybody help me
when i add these 2 multi - dimensional array i am not getting sum of the array rather it is concatenation process so guys can you help me out
Replies
1
Boosts
0
Views
743
Activity
Aug ’21
Right to left page transition in swift ui using navigation link
I am using navigation link to navigate using a button which is log out button when i click the button it takes me straight to login page i want the transition effect of the page to start from right to left instead of the opposite which is occurring              NavigationLink("", destination: login(),isActive: $goWhenTrue)           Button (action: { print("Button Tapped")}, label: {               Text("LogOut")                 .font(.headline)                 .foregroundColor(.white)                 .frame(width: 340, height: 50)                 .background(Color.blue)                 .clipShape(Capsule())                 .padding()                 .onTapGesture {                                       self.goWhenTrue = true                   if ((UserDefaults.standard.string(forKey: "Username") != nil)) {                     UserDefaults.standard.removeObject(forKey: "Username")
Replies
0
Boosts
0
Views
1.1k
Activity
Aug ’21