Modified xcode project and some codes for iOS7 later.