While swinging facing the platform: At the frontend, make a half turn on the bar and immediately bring your legs up to the bar, hook your knees underneath and swap your hands.
You can find out more about this trick in my books:
Thanks to Theo and Jesan Francois for providing a video for this page.