You need to enclose both lines with parentheses if you want to enable the button, and remove the semicolon after the conditional. Basically, your code should look like this:
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"cydia://"]]){
Lable.text = @"You are jailbroken";
Button.enabled = YES;
}
Otherwise, what you are currently using after the conditional statement, by inserting a semicolon, is actually a null statement. Even if you remove the semicolon, only the first line will be executed. Therefor, you need to remove the semicolon, and insert curly brackets to set the scope of the conditional.
Edit:
Perhaps you might need to try building the path instead of hardcoding it:
NSString* filePath = [NSSearchPathForDirectoriesInDomains(NSApplicationDirectory, NSUserDomainMask, YES) stringByAppendingPathComponent: @"cydia.app"];
If the file still doesn't exist, try to list the files and directories in the NSApplicationDirectory
to see if the file actually exists, or you need to search elsewhere (maybe even a subfolder).