iOS 5 - disponibile la nuova beta 3, ecco l'elenco dettagliato delle novità
11 Luglio 2011 | Max Capitosti
APPLE CERCA Springboard
- Push and local notifications for apps appear in the new Notification Center in iOS 5. Notification Center displays notifications that are considered “unread”. In order to accommodate push and local notifications that have no “unread” status, developers can use their application badge count to trigger a clearing of notifications from Notification Center. When an application clears its badge count (by setting it to zero), iOS 5 will clear its notifications from Notification Center.
- NEW: When tweeting your location from Safari and exiting before the location can be established, the location arrow will stay in the status bar. The arrow can be removed by killing Safari from the task switcher.
UI Automation
- NEW: In iOS 5 beta 3, the first execution of a script after a reboot or erase install will likely fail. Subsequent attempts should succeed until the device is rebooted again.
- 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. - Instruments overwrites the loaded automation script, even if another program is editing it.
- Starting 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
UIKit
- NEW: 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
. - There is a known issue with presenting a
UIVideoEditorController
object where it doesn't show the selected video, which appears blank instead. In certain cases it may also crash. - Touch events are not getting forwarded to the view in the
cameraOverlayView
property ofUIImagePickerController
. - The
imagePickerController:didFinishPickingMediaWithInfo:
method ofUIImagePickerController
is not returning a URL to the video when recording is complete. - NEW: 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).
- FIXED: We have changed the behavior of
scrollToRowAtIndexPath:atScrollPosition:animated:
such thatUITableViewScrollPositionTop
andUITableViewScrollPositionBottom
now adjust for the top and bottom portions of thecontentInset
property.
FACEBOOKSEGUICI SU
TELEGRAMNOTIZIE CORRELATE
- 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