IOS version Update Summary (1) iOS 7.0, ios7.0

Source: Internet
Author: User
Tags spritekit

IOS version Update Summary (1) iOS 7.0, ios7.0

 

From this article, I will sort out the update summaries from iOS 7.0 to the latest version, which may take a long time. This is the "What's New in iOS x. the abstract of "x" (the abstract may be better. After all, I have many unfamiliar modules, saying that the translation will be swollen ...).

There are several reasons for doing this:

1. Make yourself more clear about the changes to each version of iOS. In this way, I have many things to learn, improve, and fix;

2. Improve user experience. Because iOS 8 is certainly better than iOS 7. If my target is iOS 7.0, I also need to adapt to iOS 8, which makes users feel that app details are in place, and the UI/UE design keeps pace with the times;

3. allow people who are lazy than me to quickly learn the updated content.

 

The following is a summary of my reading. It is recommended that you view it in the original article on the official website. If you find that I misinterpret the content, please leave a message and reply. Thank you very much.

What's New in iOS 7.0: The most intuitive change to iOS 7 is the UI. Starting from this version, the UI went into the flat design and gave up the quasi-materialized interactive interface. Flattening has many advantages. The most direct one is simple and rough, and the goal is to go deeper and deeper. In line with the information age and efficient data mining ideas. Page (views) supports dynamic features as long as UIDynamic complies with the protocol of UIDynamicItem, the dynamic view effect can be realized. UIKit supports the following behaviors: 1. UIAttachmentBehavior linkage effect, two items dependencies 2. UICollisionBehavior collision effect. The object has actual volume. 3. UIGravityBehavior gravity effect, however, you can set direction 4, uipus?havior to push the effect, which can be a one-time power, or continuous power. 5. UISnapBehavior to quickly respond to UIDynamicAnimator after a coordinate is given, this is a handler of a dynamic object that provides the context required for processing. Ps: Various cool effects of UIDynamic + CA are coming out... Text Kit is a simplified version of CoreText. To get started with it, you need to understand these classes: 1. NSAttributedString is required and supports various new features. This text box can be dazzled. 4. Why does NSTextStorage write 423? Because NSTextStorage (subclass of NSAttributedString) Stores text by level, various operations can be performed on the text. 2. NSLayoutManager is used to manage the text content layout. 3. NSTextContainer is the container for the entire typographical text. 2. The 64-bit version is supported, the framework and libraries in iOS SDK are both compatible with 32-bit and 64-bit. With the 64-bit runtime recompiled, the app can be faster, and the 64-bit processor will naturally provide more resources. IOS runs in LP64 mode, and the chances of code migration errors are reduced. (OS X and other UNIX systems run in LP64. In the LP64 model, the long and pointer types are aligned in 64-bit units .) Iii. added two types of UIBackgroundModes tasks for multi-task enhancement: 1. fetch is used to regularly obtain data in the background. In info. plist, selecting it will take effect. setMinimumBackgroundFetchInterval: This method can be used to set the acquisition frequency. application: performFetchWithCompletionHandler: This method is used to obtain and process data. 2. remote-notification remote Wake-Up push. Because the app can be awakened, the frequency is limited. Select info. plist and add the content-available field to the payload of aps. Application: didReceiveRemoteNotification: fetchCompletionHandler: This method is used to process push information. *** other methods include: 1. audio playing music for iOS 4.0 + 2. location positioning for iOS 4.0 + 3. voip: ip voice service iOS 4.0 + 4, newsstand-content Apple's NewsStand service iOS 5.0 + 5, external-accessory regularly transmits data iOS 5.0 + 6, bluetooth-central (coreBluetooth) bluetooth interaction iOS 5.0 + 7, bluetooth-peripheral bluetooth interaction: peripheral mode interaction iOS 6.0 + *** 7 types in total 4. Game iOS7 enhances game support Sprite Kit Framework 2 D and 2.5D provide a graphic hardware acceleration animation system. It also provides basic support for most games: Image Rendering, background audio playback, and a simulated physical engine. For more information, see SpriteKit Programming GuideGame Controller Framework. This Framework can be used to connect to MFi devices for iOS devices, such as game controllers. Game Center Improvements Game Center improvement. 1. added the social networking feature between Exchanges game players. 2. optimized the per-app leaderboards ranking by 25 to 100. If GKLeaderboardSet is used, the upper limit is 500. 3. The Challenges optimization function is added to set the challenge constraint, for example, you can restrict the use of the same item to complete the task. 4. Enhance prevent cheating to enhance game authentication and prevent cheating. 5. Map MapKit. framework changes, including the addition of many enhancements and new features. The aim is to allow the app to obtain more basic map-related information. Of course, 3D is also supported and the angle of view can be controlled. The Maps Kit also has the following enhancements: 1. The covers can be placed on different layers, that is, you can switch the display freely. 2. Put a MKMapCamera instance in the map. It can set many parameters: location, inclination, and title information to provide a 3D angle of view. 3. This MKDirections ctions class allows you to obtain direction information from Apple. You can configure the covering based on the information. 4. This MKGeodesicPolyline class allows you to create a linear covering Based on the ground radians. 5. This MKMapSnapshotter class allows you to access the map. 6. This class of MKOverlayRenderer provides a better and more convenient way to render a visual covering. 7. MKTileOverlay MKTileOverlayRenderer can be used to change the grid slice of the map. 6. AirDrop OS X 10.7 (Lion) supports AirDrop, which can be used from iOS 7 to iOS 7. (Ps: AirDrop transmits files wirelessly, but you need to enable Bluetooth for device discovery .) AirDrop can be configured only in UIActivityViewController of iOS7. This class shows various sharing app content solutions. If you have not used this class, you can consider interviewing in your app. You can accept the files transmitted by AirDrop in the following two steps: 1. In Info. configure the request in plist. 2. Implement the application: openURL: sourceApplication: annotation: Method in app delegate. When you receive the file, this method will be called. The files you received will be placed in the Documents/Inbox in the home directory. However, if you want to modify these files, you need to move them out before modifying them. (The system allows your app to read and delete files in this directory only. That is to say, this directory can only be read and deleted .) Files in this directory are encrypted, so you need to make your files inaccessible when the device is locked. VII. Audio Inter-APP Audio between APPs: This function relies on the new features of AudioUnit. framework, which allows APPs on the same device to send MIDI commands and Audio streams to each other. With this feature, you can record audio in the current app and send it to another app for processing. If you want to transmit data to others for processing, you need to publish an audio I/O unit (AURemoteIO) that can be found in other apps ). To discover the data shared by others, you can use the discovery function interface under the Audio component. 8. Peer-to-Peer Connectivity: The MultipeerConnectivity. framework of Peer-to-Peer communication allows you to discover nearby devices and directly initiate communications (without network connection ). This framework allows us to easily establish multi-point sessions and reliably transmit data in order and in real time. With it, we can seamlessly transmit data with nearby devices. This framework also provides related interfaces for us to discover and manage nearby devices and networks. APPs can integrate this class of MCBrowserViewController to display and select nearby devices. Of course, you can also use this class of MCNearbyServiceBrowser to find and manage devices through programming. The following is the updated summary: (with * Suggestions) 1. Added Frameworks 1. GameController. framework, mainly to support game peripherals 2. SpriteKit. framework, which provides APIs for animation and Image Rendering Based on sprite. 3. MultipeerConnectivity. framework, which provides APIs for peer-to-peer device interaction * 4. JavaScriptCore. framework, which is amazing. You can directly capture the JS of webview runtime. That is, native can be called directly using js. 5. MediaAccessibility. framework, which provides APIs for displaying the hidden information of media files in the app. framework, you can use it to add the URL to the system Safari reading list. 2. The existing Frameworks enhanced UIKit Framework 1. All the UIS are changed to the iOS7 style. 2. UIKit Dynamics can be used to simulate the dynamic effects of the real world. * 3. Text Kit provides more refined Text editing and display functions. 4. UIView has the following improvements: You can use tintColor to set keyframe and 'output' animations. 5. UIViewController has the following improvements: You can define transitions) the status bar style and visibility can be controlled. 6. UIMotionEffect defines basic motion visual effects (but not obvious). 7. Collection views, which enhances the support of custom layout. Dynamics can also be used to apply an animation * 8 or UIImage imageNamed to each items. This method now supports calling resources in asset, that is, @ 1x, @ 2x (and @ 3x) can be put together * 9, UIView and UIScreen can be themselves snapshots, the new generation method is obviously faster than the rendering page 10, based on the dynamic gesture can ensure that, when a new one is added, the old one has expired. 11. The UIKeyCommand can respond to the evens of the hardware keyboard. These events can be sent to the app to process 12. The UIFontDescriptor instance can save the attributes font information. This UIFontDescriptor can interact with other platforms. 13. UIFont and UIFontDescriptor provide dynamic support for text size, which makes the app more readable. Because this can better control the font, every app should use 14. UIActivity supports many new features: use Air Drop to transfer files, add URLs to the Safari reading list, and send, tencent Weibo, and Vimeo sent content * 15. UIApplicationDelegate added the backend fetch API 16. UIKit supported running in guided-access mode, this mode protects the app content from being modified. That is, you can restrict others' use. 17. State storage. Now any object is supported. As long as your object implements the UIStateRestoring protocol, your object state can be written when the app enters the background, when you return to the front-end next time, the status is maintained. 18. Table view now supports cell height and other parameter estimates, this makes the rolling experience better 19. Now you can more easily move the UISearchDisplayController and UINavigationBar working together with the Store Kit Framework SK Framework to a new receipt system, that is, you can view the iap order receipt on your device or server. Pass Kit Framework PassKit. framework adds many APIs, including adding multiple passes at a time. The new features are as follows: 1. List the new key values of pass expiration time. 2. You can refer to the special iBeacons nearby, list the corresponding pass 3. New features can control the display of each pass. You can configure text and time styles. 4. You can associate additional information with each pass. This information can be related to your app, but it is invisible to users. 5. You can customize the pass display area. The OpenGL ES iOS7 is the new OpenGL ES 3.0 support, many new features added to OpenGL ES 2.0. OpenGL ES 3.0 (Added) in iOS 3.0 is used as an extension of 2.0 with many new features. However, 3.0 has added texture features related APIs and a core feature that has never been used on mobile phones: Multiple rendering targets (MRT) technology and transformation feedback technology. Create a 3.0 context on the device and pass the constant kEAGLRenderingAPIOpenGLES3 to initWithAPI: method. OpenGL ES 2.0 (new feature) 1. Extended EXT_sRGB, added support for sRGB of frame buffer 2. Extended GL_EXT_pvrtc_sRGB, added support for sRGB for textures stored in the compression format of PVRTC (same hands and 3.0) 3. Extended GL_EXT_draw_instanced and GL_EXT_instanced_arrays, and improved multiple rendering operations with the same objects. You can use a single call to draw the same objects Textures 2.0 and 3.0 support texture vertices. Query this feature MAX_VERTEX_TEXTURE_IMAGE_UNITS. You can understand the texture parameters you need (numerical type ). In earlier versions, this parameter has always been a class of 0 Message UI Framework: MFMessageComposeViewController supports text Message attachments. Media Player Framework: MPVolumeView provides a function to obtain the route information (AirPlay and Bluetooth) of a wireless device selected by the user. You can also know whether the route here is active. * ** The variables are as follows: whether AirPlay is available and whether it is selected: areWirelessRoutesAvailable isWirelessRouteActive: MPVolumeViewWirelessRoutesAvailableDidChangeNotification MPVolumeViewWirelessRouteActiveDidChangeNotification *** and Map Kit Framework change, in the fifth point map. Image I/O Framework now provides a UI to obtain and set the metadata of images (metadata ). IAd Framework iAd. framework adds two extensions for other frameworks to make it easier for them to implant advertisements. 1. added two methods for this MPMoviePlayerController class, so that you can put an advertisement before playing the video (with the player, you can calm down, 2333333) 2. extended our UIViewController so that you can put an advertisement for Game Kit Framework before displaying the real page, see the fourth point-in-Game-Center Improvements. Foundation Framework Foundation. the framework has the following enhancements: 1. NSData supports Base64 encoding 2. NSURLSession is introduced to replace NSURLConnection and NSURLDownload, as well as the two proxies 3. NSURLComponents can be used to parse the relevant content in the URL. Supported Protocol standards for resolution: (rfc3986/STD66) 4. NSNetService and NSNetServiceBrowser support end-to-end data transmission based on Wi-Fi and Blueteeth 5. NSURLCredential and NSURLCredentialStorage provide APIs for you to create a certificate for the synchronization protocol, also, we provide the APIS 6, NSURLCache, NSURLCredentialStorage and NSHTTPCookieStorage now support storage for asynchronous request processing 7. NSCalendar supports new calendar styles 8. NSProgress provides general APIs, to monitor the progress and provide progress data to Core Telephony Framework CoreTelephony. framework allows you to obtain voice call-related messages from devices.. If the app is developed with a carrier, you can verify whether the app is a specific user based on the carrier. Core Motion Framework CoreMotion. framework supports step counting and Motion tracking. With the step counting function, this framework can discover mobile information based on user movements and record the number of steps. Because it is recorded by the system for you, your app is not running and has data. At the same time, this framework can distinguish between different types of sports, including various sports feedback, walking, running or cycling. Apps in the navigation class can use this feature to obtain data to indicate the user's location. Core Location Framework CoreLocation. framework supports regional monitoring and Bluetooth positioning. The former allows you to know That you (the device) are in a special area, and the latter allows you to know the relative location of the nearby bluetooth device. For example, an art museum can use area monitoring to identify the gallery in which visitors are located, and then set up the corresponding iBeacons on nearby works. Then when the visitor enters the front of the work, the work information appears on his mobile phone. This framework also provides methods to set the positioning interval and positioning accuracy. Core Foundation Framework CoreFoundation. framework now allows you to arrange stream objects in the thread queue. Core Bluetooth Framework CoreBluetooth. framework includes the following enhancements: 1. This framework supports saving the state of the central and surrounding objects and loading them back when the app starts. This feature supports long-term interaction with Bluetooth-related devices. 2. class objects in the center and surrounding areas, now you can use NSUUID to set a unique identifier for storage. 3. You can now use the internal management object to synchronously restore the External Object AV Foundation Framework AVFoundation. framework has the following enhancements: 1. AVAudioSession supports the following new features:-select preferred audio input, including built-in microphone-multi-channel Input and Output 2. AVVideoCompositing Protocol and related classes, this allows you to customize the merging and layout of videos. 3. AVSpeechSynthesizer and its related classes. 4. You can perform speech synthesis. 4. The camera function has been changed: -Scan Function Format and frame speed-high-speed (high fps) camera-static shooting stability-video image size-real-time scan supports machine-readable data sources (QR code recognition) -autofocus restriction-smooth autofocus during camera-share a during shooting Pp audio (BGM can be added during shooting) -Access clock-call the camera and microphone requires user authorization-give data output and AVAssetWriter Recommended settings 5. New metadata keys support ISO standard formats such as MPEG-4 and 3GPP. This improves the filtering capability (AVAssetExportSession) when converting metadata objects to output files. 6. AVAssetWriter provides output formatting configuration and is the latest H. 264 Standard 7. AVPlayerLayer added the videoRect attribute, which can be used to obtain the video image size and position 8. AVPlayerItem has the following changes:-when the AVPlayerItem object is ready in the background, attribute members in the Asset can be automatically loaded into it. When your app is connected to the iOS 7 SDK, many parameters will return default values, which is different from the previous SDK version. That is, AVPlayerItem won't block your app. When the playback object status changes to AVPlayerItemStatusReadyToPlay, getter maps to the actual value of the media resource. If you use KVO, he will receive 9 notifications of these attribute changes. AVPlayerItemLegibleOutput can process media file subtitles. 10. AVAssetResourceLoaderDelegate protocol now supports loading any paragraph of data from media files. Accelerate Framework Accelerate. the framework includes the following enhancements: 1. Core Graphics data types can be manipulated. 2. grayscale images of 1, 2, and 4 ppi are supported. 3. format conversion between images and content conversion are supported, define new rules 4. Support for double-second-order filter (IIR Digital Filter) Operations 3. Objective-c oc now supports modularity, making compilation and project indexing faster. Xcode 5 supports modularization of all projects and existing projects. You need to modify its modularized configuration to ensure that it can be supported. 4. Deprecated APIs (all of which are important here) Sometimes Apple adds a deprecated macro to Some APIs to indicate that these Apis will not be used in development in the future. Of course, this macro does not mean that these Apis will expire immediately, but we will have a better choice to replace these Apis. Due to some historical factors and many released programs, these obsolete APIs are still valid. However, it is recommended that new APIs be used for new apps, because the new APIs do not change much, but they only fix high-risk buckets and add security patches. The Deprecated APIs will be permanently removed from the operating system in the future. As a developer, it is very important to avoid using APIs in your code. At least, your new code should never use the obsolete API. update the code that has been written. Fortunately, the Xcode compiler will give you a warning when you use the deprecated API, And you can update the code according to the warning prompt. This release version discards APIs, including the following technical regions: 1. The MKOverlayRenderer class is used in the Map Kit framework to replace the original MKOverlayView and its subclass. 2. AudioToolbox in the Audio Session API. framework is AVFoundation. the AVAudioSession class in the framework is replaced. 3. The CLRegion class in the Core Location framework is replaced by CLCircularRegion. However, this class is used as an abstract base class to support geo and beacon region. 4. uuid in the CBCentral class is discarded. The unique identifier of the device. You can use the identifier attribute of the device. 5. The Game Kit framework contains a variety of descriptions for clearing the existing APIs, better support for new features 6. UIKit. framework has the following actions:-The wantsFullScreenLayout attribute of UIViewController is discarded. This attribute is supported by default from iOS 7-The UIColor object is no longer the same as the previous iOS version; currently, background textures are not supported.-Many draw options of NSString classes are discarded, because the new variant Method 7 and the gethostuuid method in the libsyscall library are discarded using the * 8 method. Starting from iOS 7, if you try to get the MAC address of the device, the system will always return 02: 00: 00: 00: 00: 00. If you need a unique identifier, you can use the identifierForVendor attribute of UIDevice. If you need to advertise, you must use the advertisingIdentifier attribute of ASIdentifierManager.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.