How to pass selected image index to the next screen in SwiftUI
I am showing array of images in Grid. now i want to pass selected image index to GalleryPrevIewView to show that particular image first in that TabView.
I am showing array of images in Grid. now i want to pass selected image index to GalleryPrevIewView to show that particular image first in that TabView.