Connect ios device to raspberry pi

HI everyone,
Does anyone have an idea how I can create an IOS app that can connect to a Raspberry Pi without internet?
thanks, yosi