Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)alertView:(UIAlertView *)alert didDismissWithButtonIndex:(NSInteger)buttonIndex {
- if ([alert tag] == 1){
- NSDictionary* dict = [NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.abart997.folderlock.plist"];
- NSString *password = (id)[dict objectForKey:@"numberString"] ?: @"";
- }
- }
- if ([password isEqualToString:@""] && buttonIndex != 0 && buttonIndex != 3){
- UIAlertView *alert2 =[[UIAlertView alloc] initWithTitle:@"FolderLock" message:@"No name or password set.Set they via Setting's app." delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil];
- [alert2 show];
- [alert2 release];
Add Comment
Please, Sign In to add comment