I went through various posts which talks about jailbreak detection mechanisms. Whatever I came across is either something that apple would reject during the vetting process or something that could be bypassed. I also came to know that apple removed the jailbreak detection API..
So, is there any foolproof mechanism with which i can check whether a device is jailbroken?