I have developed a Gallery contol in power apps application.When I run the application via iPhone the gallery selection is taking the previous selection not the current one but in the studio/android device it is working as expected (current item only selecting). I have tried with different ways like
By assigning value globally (using set syntax)
By assigning value in page to page (in Navigate command)
By assigning directly selected item as Gallery.Selected.Name
All the possible ways tried but no one is working as expected.