Preheat the air fryer to 390
In a bowl, combine flour, corn meal, salt, baking soda, and sugar. Using a fork, cut in butter until the mixture is crumbly
In a separate bowl, mix the egg and milk. Add this to the cornmeal mixture. Transfer this mixture into a deep and wide cup to dunk the hotdog into it
Skewer each of the hotdogs through the long end, until about halfway up the hotdog, or until the length is short enough to fit in the air fryer
Using the tin foil, shape a small boat that the hot dog will be able to lay in inside of the air fryer
Batter each hotdog by dipping it into the cup of batter, ensuring that it is evenly covered. Spray each corndog with cooking spray. Place each one into its own foil boat
Cook the hot dogs for 4-5 minutes, or until the batter is golden brown