gallery > action > cts method - swift