If he had done that same exact thing in bounds, it would've been a catch. He still caught the ball in-bounds, got two feet down (actually 3, and by the rule, that's a catch with the 3rd foot) without it ever touching the ground.
It's on McD for not challenging though when Poyer was right in front of him.