iOS 5 - disponibile la nuova beta 4, ecco l'elenco dettagliato delle novitą
23 Luglio 2011 | Max Capitosti
APPLE CERCA UI Automation
- NEW: Instruments overwrites the loaded automation script, even if another program is editing it.
- The play and record buttons in the Automation instrument script editor may not work properly after targeting an application that was launched by a trace session and has ended. They may also not work if you target an application that was suspended. If you run into this problem and it persists, you may need to close and reopen the trace document to get back into a functional state.
- When capturing actions into a script using the Automation instrument, interfaces with web views or table cells that contain a high number of off screen elements may take an extremely long time before returning with an expression.
- The
lock()
andunlock()
functions ofUIATarget
have been replaced with thelockForDuration(
)
function. - FIXED:Instruments overwrites the loaded automation script, even if another program is editing it.
- Starting in iOS 5 beta 2, you can now trigger the execution of an UI Automation script on an iOS device from the host terminal by using the instruments tool. The command is:
instruments -w
-t
- When using the cli instruments for UI Automation you can now target the default Automation Template and pass the script and results path into the tool as environment variable options. For example:
UIKit
- Starting in iOS 5 beta 3, the
exclusiveTouch
property ofUIControl
has returned to its original default value ofNO
. - Returning
nil
from thetableView:viewForHeaderInSection:
method (or its footer equivalent) is no longer sufficient to hide a header. You must overridetableView:heightForHeaderInSection:
and return0.0
to hide a header. - In the iOS 5 beta, the
UITableView
class has two methods to move one cell from one row to another with defined parameters. These APIs are:moveSection:toSection:
moveRowAtIndexPath:toIndexPath:
- Using the
UIWebView
class in Interface Builder, setting transparent background color is possible in iOS 5. Developers compiling against the new SDK can check their XIB for theUIWebView
transparent setting. - In the iOS 5 beta, the
UINavigationBar
,UIToolbar
, andUITabBar
implementations have changed so that thedrawRect:
method is not called on instances of these classes unless it is implemented in a subclass. Apps that have re-implementeddrawRect:
in a category on any of these classes will find that thedrawRect:
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:- Use the customization API for bars that in iOS 5 and later, which is the preferred way.
- Subclass
UINavigationBar
(or the other bar classes) and overridedrawRect:
in the subclass.
- The
indexPathForRow:inSection:
,section
, androw
methods ofNSIndexPath
now useNSInteger
instead ofNSUInteger
, so that these types match with methods defined onUITableView
. - Touch events are not getting forwarded to the view in the
cameraOverlayView
property ofUIImagePickerController
. - FIXED:When creating a new appointment in calendar app on a device using 24 hr clock, you cannot select an hour value greater than 12. The date-time picker value sets current weekday to be the same as previous day (e.g: a An appointment on Tuesday will be set as Monday).
- We have changed the behavior of
scrollToRowAtIndexPath:atScrollPosition:animated:
such thatUITableViewScrollPositionTop
andUITableViewScrollPositionBottom
now adjust for the top and bottom portions of thecontentInset
property.
WebKit
- In iOS 5, a new inherited CSS property,
-webkit-overflow-scrolling
, is available. The valuetouch
allows the web developer to opt in to native-style scrolling in anoverflow:scroll
element. The default value for this property isauto
, which allows single-finger scrolling without momentum. - The WebKit framework has picked up a newer WebKit engine, which closely matches Safari 5.1. Some areas to be aware of with the new WebKit framework on iOS:
- There is a new HTML5-compliant parser.
- Text layout width may change slightly because word-rounding behavior now has floating-point-based precision.
- There is improved validation of the
input
form field, which includes removing leading zeros and number formatting. - Touch events are now supported on input fields.
window.onerror
is now supported.- There is a new user agent that does not have locale information in the User Agent string.
WiFi Syncing
- In iOS 5 beta 4, wireless syncing is now available on Windows as well as the Mac (requires OS X 10.6.8 or Lion)You will see an option to enable wireless syncing when you connect your device to iTunes with the USB cable. It is recommended you perform your initial sync with a cable after restoring your device.
- Wireless syncing is triggered automatically when the device is connected to power and on the same network as the paired computer. Or, you can manually trigger a sync from iTunes or from Settings -> General -> iTunes Sync (same network as paired computer required).
- If you find issues with apps, media and/or photos synced to your device, you can reset then resync. From Settings -> General -> Reset, choose Erase all Content and Settings. Then reconnect to iTunes and sync again.
- In some cases, your device may fail to sync contacts, calendars and account settings, or back up to iTunes. If this happens, reboot your device and re-sync.
- NEW:In some cases, syncing photos may result in only thumbnails on your device. If this happens, unsync Photos then re-sync again.
Xcode
- When uninstalling iOS 5.0 SDK beta 2 or upgrading from iOS 5.0 SDK beta 2 your new install might be missing the /usr/lib/libsvn* files thus making some subversion functionality (such as the perl bindings and git-svn) unavailable.
- If your host machine is a Snow Leopard based, you can get these back by reinstalling
BSD.pkg
from your OS DVD, followed by a Combo Update to Mac OS X 10.6.8 or later. - If your host machine is Lion based you will have to reinstall the OS.
- If your host machine is a Snow Leopard based, you can get these back by reinstalling
- In this beta, device restores using Xcode are disabled. Please use iTunes only to back up and restore your device.
- In some cases, Xcode 4.2 Organizer does not display a device that is in restore mode. As a workaround you can use iTunes to restore.
- In iOS 5 beta 4, the iOS Simulator is not compatible with previous releases of the iCloud Developer Seed for OS X. It is highly recommended that you update to the latest iCloud Developer Seed to ensure compatibility.
- iOS 5.0 SDK supports both iOS 4.3 and iOS 5.0 simulators.
FACEBOOKSEGUICI SU
TELEGRAMNOTIZIE CORRELATE
- iOS 5 - disponibile la nuova beta 3, ecco l'elenco dettagliato delle novitą Prosegue la messa a punto di Apple del nuovo sistema operativo iOS 5, il cui debutto in forma definitiva č previsto in autunno con il lancio del nuovo iPhone 5 ... [11/07/2011]
- iOS 5 - una conferma per la possibilitą di aggiornamenti OTA Un approfondito esame del software development kit del nuovo sistema operativo iOS 5 ci conferma l'intenzione di Apple di implementare su iPhone ed iPad la funzionalitą OTA ... [27/06/2011]
- iOS 5 - disponibile la beta 2 con importanti novitą E' disponibile da poche ore la seconda beta di OS 5, il nuovo sistema operativo per iPhone ed iPad al momento riservato soltanto agli sviluppatori software. iOS 5 beta 2 ... [25/06/2011]
ULTIME NOTIZIE
- Xiaomi Mix Flip - in arrivo a fine mese, in anteprima nuove immaginiRealme GT6 - una dotazione differente per la versione per il mercato della CinaRedmi 13 5G - nuovo smartphone con Snapdragon 4 Gen 2 e fotocamera da 108MPOppo lancia i nuovi Reno 12 F 5G e Reno 12 FS 5G in ItaliaOnePlus svela nuovi dettagli sulle novità in arrivo il 16 luglioVodafone - insieme a Meta per ottimizzare l'efficienza della reteNothing CMF Phone 1 - lo smartphone 5G economico con retro personalizzabileOnePlus svela la gamma di prodotti per il Summer Launch Event del 16 luglioRealme C61 - ufficiale il nuovo entry-level con resistenza a polvere e acqua IP54Vivo Y28s 5G - ufficiale il nuovo smartphone di fascia mediaRealme 12 4G - chip Snapdragon 685 e schermo OLED per la nuova variante senza 5GApple estende il software di diagnostica Self Service Repair in Europa