Tap on a nearby Pokemon to enter its capture screen, then swipe up from the bottom of the screen and flick towards your target until you hit it.