Planes and feeding baby

Who has flown long distance with a baby? How did you feed your child on the plane? I’m wondering if I should breastfeed on the plane (is that weird?) or use a bottle. If you guys used a bottle, how did you get your booby milk through security?