What is the use of plist?

In the context of iPhone development, Property Lists are a key-value store that your application can use to save and retrieve persistent data. All iPhone applications have at least one of these by default, the Information Property List: The information property list is a file named Info.plist that is included with every iPhone application project … Read more

iOS 4: Remote controls for background audio

The documentation examples are a bit misleading, but there is no need to subclass anything anywhere. The correct place to put remoteControlReceivedWithEvent: is in the application delegate, as it remains in the responder chain regardless of whether the app is in the foreground or not. Also the begin/end receiving remote control events should be based … Read more

how to get the event that switch tab menu on iphone

Implement UITabBarControllerDelegate e.g. in your app delegate’s applicationDidFinishLaunching – (void)applicationDidFinishLaunching:(UIApplication *)application { tabBarController.delegate = self; [window addSubview:tabBarController.view]; } Then implement either: – (BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController *)viewController; – (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController; The first method is called before the view switch and gives you a chance to ‘veto’ the view switch by returning NO The second … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)