If I want my app to behave differently on a jailbroken iPhone, how would I go about determining this?
Try executing unsigned code through your application.
A jailbroken devices usually has the following characteristics:
Just checking file existence for jailbreak detection is doomed to fail. These checks are easy to bypass.