iOS 5 GM a fost lansat acum o ora de catre Apple pentru dezvoltatorii de aplicatii pentru iOS si Dev Team a anuntat deja ca acestea poate fi jailbroken folosind redsn0w. Deocamdata am vazut la confertina Apple o parte dintre noutatile implementate de catre Apple insa cu siguranta in iOS 5 se vor gasi mult mai multe noutati pe care vi le voi prezenta in zilele urmatoare dupa ce am ocazia sa ma joc putin cu noul sistem de operare. Pana una alta mai jos aveti changelog-ul noului sistem de operare, deci tot ce a implementat Apple nou.
NOTES AND KNOWN ISSUES
The following issues relate to using the 5 SDK to develop code.
As a work around, implement the These logs can grow large very quickly, so you should remove the profile after you have reproduced the problem and pulled the logs of your device. For information about changes to Xcode, Interface Builder, Instruments, and iOS Simulator, see Xcode Release Notes.Accounts
AirPlay
APIs
NSNetService
class and CFNetService APIs do no include P2P interfaces by default. To browse, register, or resolve services over P2P interfaces, an application needs to use the Bonjour DNSService*()
APIs noted below.kDNSServiceInterfaceIndexAny
in the following API’s will not include P2P interfaces by default. To include P2P interfaces, you must now set thekDNSServiceFlagsIncludeP2P
flag when using kDNSServiceInterfaceIndexAny
or set the interfaceIndex to kDNSServiceInterfaceIndexP2P
. The affected APIs are:
DNSServiceBrowse
DNSServiceRegister
DNSServiceResolve
DNSServiceRegisterRecord
DNSServiceQueryRecord
API Validation
Apple TV
Automatic Reference Counting
Error in format of file: <path>
.If encountered, the user should switch to Simulator and retry the migration.Binary Compatibility
GameKit
iCloud Backup
iCloud Storage
NSMetadataQuery
class, you must set a predicate and the predicate is now honored. But the predicate is an NSPredicate
-style predicate, not a Spotlight-style predicate. An example of the difference is that you must use LIKE
instead of =
for wildcard matching. The differences are defined in more detail at:http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Predicates/Articles/pSpotlightComparison.html#//apple_ref/doc/uid/TP40002370-SW1.setSortDescriptors:
method of NSMetadataQuery
is not supported.URLForUbiquityContainerIdentifier:
method of NSFileManager
must include the team ID at the beginning of the string. As a convenience, you can pass nil
to retrieve the first document container ID specified in your app’s entitlements.NSFilePresenter
protocol—do not receive some of the messages that they are supposed to receive, including:
relinquishPresentedItemToWriter:
method and check to see if the writer actually wrote when your file presenter reacquires the file.
~/Library/Logs/CrashReporter/MobileDevice/DeviceName/DiagnosticLogs
.iTunes
Music Player
Security
Springboard
UI Automation
performTaskWithPathArgumentsTimeout
method of UIAHost
in a UI Automation script where the API outputs excessively (say, thousands of lines of text) to standard out or standard error, the task may deadlock until the timeout is reached, at which point it will throw a JavaScript exception.lock()
and unlock()
functions of UIATarget
have been replaced with the lockForDuration(
<seconds>)
function.
instruments -w <device id> -t <template> <application>
instruments -w <device id> -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate <application> -e UIASCRIPT <script> -e UIARESULTSPATH <results path>
UIKit
viewWillLayoutSubviews
call when it is redisplayed, and the interfaceOrientation
property can be queried from this method and used to lay out the controller correctly.UIPickerView
class doesn’t send its pickerView:didSelectRow:inComponent:
delegate message in response to the programatic selection of an item.nil
from the tableView:viewForHeaderInSection:
method (or its footer equivalent) is no longer sufficient to hide a header. You must override tableView:heightForHeaderInSection:
and return0.0
to hide a header.UITableView
class has two methods to move one cell from one row to another with defined parameters. These APIs are:
UIWebView
class in Interface Builder, setting a transparent background color is possible in iOS 5. Developers compiling against the new SDK can check their XIB for the UIWebView
transparent setting.UINavigationBar
, UIToolbar
, and UITabBar
implementations have changed so that the drawRect:
method is not called unless it is implemented in a subclass. Apps that have re-implementeddrawRect:
in a category on any of these classes will find that the drawRect:
method isn’t called. UIKit does link-checking to keep the method from being called in apps linked before iOS 5 but does not support this design on iOS 5 or later. Apps can either:
UINavigationBar
(or the other bar classes) and override drawRect:
in the subclass.indexPathForRow:inSection:
, section
, and row
methods of NSIndexPath
now use NSInteger
instead of NSUInteger
, so that these types match with methods defined on UITableView
.UITableView
class’s scrollToRowAtIndexPath:atScrollPosition:animated:
method has changed. If a scroll position of UITableViewScrollPositionTop
orUITableViewScrollPositionBottom
is specified, the method now adjusts for the top and bottom portions of the contentInset
property.UIPopoverController
class would unconditionally set the autoresizing masks of view controllers that provided the content for the popover controller. It would also unconditionally set the autoresizing masks of the views of view controllers pushed on to a UINavigationController
object which was the content view controller of the popover controller.The UIPopoverController
class no longer does this for applications linked against iOS 5 or later. Developers should ensure that the autoresizing masks of views are set properly to allow for arbitrary resizing within any container, not just popovers. A mask of (
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
)
is reasonable.saveToURL:forSaveOperation:completionHandler:
is called outside of the coordinated write block.autosaveWithCompletionHandler:
method is now only called for period-based saves when it is safe to return without saving. Documents must save, though, if thesaveToURL:forSaveOperation:completionHandler:
method is invoked.Safari and WebKit
-webkit-overflow-scrolling
, is available. The value touch
allows the web developer to opt in to native-style scrolling in an overflow:scroll
element. The default value for this property is auto
, which allows single-finger scrolling without momentum.
<input type=number>
form field, which includes removing leading zeros and number formatting.<input type=range>
is now supported.window.onerror
is now supported.UIWebView
back to native code, make sure that the scheme is always lowercase, or that the native code compares the scheme in a case-insensitive manner.Wi-Fi Syncing
Xcode Tools
This post was last modified on oct. 5, 2011, 3:23 PM 15:23