id | \ntitle | \n
---|---|
B61D1F26-E85B-B165-8E15-AAF6D36A5607 | \n MonoTouch 3.0.8 | \n
\n
MonoTouch 3.0.8 introduced support for Apple's iPhone 4 SDK and supports the\nfollowing platforms:
\n- \n
- iOS 4 (iPhone and iPod devices) \n
- iPhoneOS 3.2 (iPad) \n
- iPhoneOS 3.0 (iPhone and iPod devices). \n
A detailed list of API changes from version 2.0 is available for developers\nto explore what is new in MonoTouch 3.
\n\n\nMonoTouch 3.0 supports all the new APIs to allow your application to\nmulti-task on iOS 4.0. As part of this effort, we introduced bindings to Grand\nCentral Dispatch (see the class MonoTouch.CoreFoundation.Dispatch).
\nYou can build applications that support:
\n- \n
- Background Audio \n
- Voice over IP \n
- Background Location \n
- Receive push notifications even if your app is sleeping \n
- Local notification support, without requiring a server to push the data. \n
- \"Just one more minute\" support, to let your application complete any critical task before it is put in the background. \n
- Fast App Switching support. \n
Multitasking support builds also on top of our new binding to the Blocks\nAPI.
\n\n\nAll of the new iOS =4.0 \"Integration Technologies\" features introduced by Apple are\nsupported in this edition of MonoTouch.
\n\n\nLocal notifications, provided by the MonoTouch.UIKit.UILocalNotification, for\nmore information see the Local and Push Notifications Guide.
\n\n\nEventKit framework, gives you access to the device calendar\n(MonoTouch.EventKit).
\n\n\nCoreMotion gives you access to the gyroscope and accelerometer\n(MonoTouch.CoreMotion).
\n\n\nCoreTelephony gives you access to information about your cell provider\n(MonoTouch.CoreTelephony).
\n\n\niAd allows developers to integrate advertisements into their applications\n(MonoTouch.iAd)
\n\n\n\n\nSupport for iPhone 4's Retina Display is accomplished through various\nextensions to the UIKit and CoreAnimation APIs. These new APIs are also exposed\nto MonoTouch developers (MonoTouch.UIKit.UIScreen.Scale,\nMonoTouch.UIKit.UIImage.CurrentScale,\nMonoTouch.UIKit.UIView.ContentScaleFactor).
\n\n\nThis new API has been bound allowing your application to preview the contents\nof foreign file formats. The APIs are available in MonoTouch.QuickLook.
\n\n\nThe AVFoundation framework gives developers more fine grainer control over\nmusic and video playback and with iOS 4.0 it got a significant boost in terms of\nfunctionality. The new classes are available under MonoTouch.AVFoundation.
\nThese are some of the new additions:
\n- \n
- Media asset management \n
- Movie capture \n
- Movie playback \n
- Track management \n
- Metadata management for media items \n
- Stereo panning \n
- Precise audio sync between sounds \n
- APIs to query details about the media files including data format, sample rate and channels \n
For those familiar with both Objective-C and C# we mapped C# delegates and\nlambdas into Objective-C blocks, so all the new blocks-based API is available to\ndevelopers. Developers in C# can continue to use lambda functions as well as\nanonymous methods, and those will be transparently exposed to Objective-C as\nObjective-C blocks.
\n\n\nThis task queue management system is used in iPhone OS and MonoTouch now\nexposes these APIs for application developers to use.
\n\n\nThis API is a flat C API and is only available to developers by manually\nusing P/Invoke to call into these routines. No object-oriented binding has been\nprovided for it.
\n\n\nAll of the improvements that Apple introduced in iOS 4.0 for UIKit are\nexposed in MonoTouch 3.0, this includes the new multi-tasking methods in\nUIApplicationDelegate as well as its support for scheduling local\nnotifications.
\n\n\nIn iOS4 it is possible to use a graphics context\n(MonoTouch.CoreGraphics.CGContext) in a multi-threaded application. Access to\nUIImage, UIColor and UIFont is now also thread safe.
\n\n\nThe new Block-animation APIs in UIView which provide various callbacks for\ncustom animations are exposed in the API. Blocks in the UIView are merely C#\ninstances of NSAction, so you can just use delegates, anonymous methods or\nlambda functions as your block values.
\n\n\nCoreGraphics now supports fine grained control of font smoothing in\nMonoTouch.CoreGraphics.CGContext.
\n\n\nThe new MFMessageComposeViewController now supports a compositing tool for\nSMS messages without leaving your application.
\n\n\nMap overlays and draggable map annotations are now supported.
\n\n\nMany new Foundation APIs were introduced with iOS 4.0, these have been bound,\nand the most interesting include:
\n- \n
- NSDateComponents \n
- NSBlockOperation that allows adding lambdas/delegates to operation queues \n
- NSCache \n
- All new features from CoreLocation (MonoTouch.CoreLocation) \n
All the new APIs from GameKit (MonoTouch.GameKit) have been added.
\n