Okay everyone have a question need some input

I develope an iphone app to protect it from others stealing the ideal can I get a patent down first. Is there such thing getting iphone app patent search? is it possible?