iOS 5 beta 2 – wszystkie nowości, które przyniósł Apple

iOS beta 5 2 zostało wydane aseara de catre Apple pentru dezvoltatorii de aplicatii pentru iOS si impreuna cu el a fost lansat un changelog foarte mare in care sunt mentionate toate modificarile aduse sistemului de operare. Lista este foarte lunga, dupa cum puteti vedea si voi, semn ca Apple a lucrat mult la imbunatatirea sistemului de operare pe care noi il vom folosi. Exista cateva schimbari notabile pe care le voi discuta in articole separate insa aici aveti intreaga lista a modificarilor.

Daca Apple va contiuna sa imbunatateasca sistemul in acest mod pana la lansarea finala atunci vom avea parte de un iOS 5 foarte bine pus la punct.

Książka adresowa

  • FIXED: Adding a CardDAV account of any kind (Yahoo, Address Book Server, etc) and then removing the account will result in the loss of the UI button to add a new contact. The button will not appear under Contacts App or the Contacts button under the Phone app.
  • FIXED: Modifying the fields of an iCloud contact from an iOS device that was not the original source of the contact causes the contact’s photo to disappear on other iOS devices. The image is still there but it is not fetched properly.

AirPlay

  • Począwszy od systemu iOS 5.0, treści wideo w aplikacjach i witrynach internetowych domyślnie obsługują technologię AirPlay.
  • iOS 5.0 obsługuje AirPlay wideo za pośrednictwem AV Foundation.
  • Wygaszacz ekranu Apple TV może obniżyć jakość odtwarzania lustrzanego poprzez AirPlay. Wygaszacz ekranu można wyłączyć w ustawieniach Apple TV.

apple TV

  • Oprogramowanie Apple TV w wersji beta umożliwia użytkownikom wyświetlanie zawartości iPada 2 na urządzeniu Apple TV (2. generacji) za pomocą funkcji AirPlay. To oprogramowanie w wersji beta umożliwia także strumieniowanie zdjęć na Apple TV, dzięki czemu użytkownicy mogą uzyskać dostęp do zdjęć przechowywanych w iCloud. Udostępniana jest wersja beta oprogramowania Apple TV, która pozwala przetestować najnowszą funkcjonalność AirPlay w aplikacjach i witrynach internetowych na iOS 5. Jeśli chcesz zainstalować wersję beta oprogramowania Apple TV na swoim urządzeniu, musisz najpierw zarejestrować identyfikator UDID swojego urządzenia w portalu programu dla programistów iOS.

Asystent

  • When signing in with a Classic MobileMe account via iOS 5.0 Setup Assistant, it offers iCloud Backup.

Audio

  • Using voice chat in iOS 5 requires setting the kAudioSessionMode_VoiceChat mode on the Audio Session, or setting the AVAudioSessionModeVoiceChat mode on the AVAudioSession object.
  • In iOS 5 beta1, voice chat is currently not working on iPhone 3GS and iPod Touch 3rd generation devices.

Bluetooth

  • FIXED: When connected to Personal Hot Spot via Bluetooth, the internet connection for web browsing is not successful.

KońDav

  • FIXED: Despite turning off reminder sync with an iCloud account, editing in the reminders app displays the option to make a new reminder list under iCloud. By doing so, the list and to do items under the list will sync to other devices.
  • NEW: After creating a recurring event locally on the device, the device stops syncing after hitting an error on merge. Removing and re-adding the account acts as workaround for this.

Kalendarz

  • FIXED: When making a change to calendar syncing, like having more than one account on the device and turning on or off one of the account’s calendar syncing, changes may not show up on the calendar UI. To resolve this, kill the calendar app through app switcher and launch it again.
  • NEW: All MobileMe calendars were duplicated after turning calendar syncing off and back on.
  • NEW: If you launch or manually refresh Calendars on an iPad, your calendars might disappear and you will have to tap “Show All Calendars” to display them again.

GameKit

  • FIXED: In games that support “Turn-Based Matches” a player cannot end a match unless all players end the match.
  • Dane meczowe w przypadku meczów turowych są obecnie ograniczone do 4 KB danych.
  • In iOS 5.0, notifications for Game Center are off by default. To enable notifications go to Settings->Notifications->Game Center-> and change the Alert Style from None to Banners or Alerts.
  • FIXED: Attempting to present a GKPeerPickerController object causes an iPhone 4 to dim and become ‘modal’, but the peer picker never appears.

Grafika

  • NEW: In the iOS 5 beta 2, the data type of the center property of GLKSkyboxEffect of the GLKit framework has been changed from GLfloat * to GLKVector3.
  • FIXED: In the iOS 5 beta, the envColor property and the colorMaterialEnabled property of the GLKEffectPropertyTexture class (in the GLKit framework) are not operational.
  • FIXED: In the iOS 5 beta, the constantColor property of the GLKBaseEffect class (in the GLKit framework) does not report the correct value in gdb.
  • FIXED: In the iOS 5 beta, the GLKReflectionMapEffect class (in the GLKit framework) requires either the texture2d0 property, the texture2d1 property, or both configured with a valid texture name (for example, texture2d0.glName = myTextureName) in order to function properly. If one of these properties is not configured, you will get no reflection map rendering and a shader compilation error.
  • If you don’t have a texture2d you intend to use with the GLKReflectionMapEffect class, the following code may be added as a workaround to augment the reflection map effect with a base texture: [redacted code]
  • FIXED: In the iOS 5 beta, disabling any of the three light parameters (light0, light1 or light2 ) of GLKBaseEffect does not work.
  • Since the GLKReflectionMapEffect class inherits from GLKBaseEffect, the same behavior is observed for lights used with GLKReflectionMapEffect.

iBooks

  • iBooks 1.2.2 może nie wyświetlać niektórych tekstów lub obrazów w książkach. Zaktualizuj aplikację iBooks do wersji 1.3 w sklepie App Store.
  • FIXED: Newer PDFs added to iBooks will not be added to subsequent backups.

iCloud kopii zapasowej

  • As this is beta software it is recommended that you do not use the iCloud services to store any critical data or information. If you enable iCloud Backup, automatic backup with iTunes when syncing will be disabled. We suggest you also manually back up your device with iTunes.
  • W wersji beta iOS 5 obsługa ochrony danych w iCloud Backup jest niedostępna. W rezultacie aplikacje, które mają chronione pliki, nie będą miały kopii zapasowej żadnych danych ani metadanych.
  • NEW: After restoring, you may not be able to back up again because the device still thinks it’s restoring. To workaround this issue try syncing apps or media that are missing form iTunes or try deleting your iCloud account and adding it back.
  • NEW: If you delete your backup, the feature will be disabled but settings may still indicate that it is enabled and you will have to toggle the BackUp to Cloud switch in Settings.

iCloud Storage

  • W okresie beta systemu iOS 5.0 wszelkie dokumenty przechowywane na serwerach mogą być okresowo usuwane przed GM. Dlatego zdecydowanie zaleca się, aby nie przechowywać żadnych krytycznych dokumentów ani informacji na serwerach.
  • Jeśli aplikacja korzysta z klasy NSMetadataQuery, należy ustawić predykat, nawet jeśli sam predykat jest ignorowany.
  • The Foundation framework doesn’t include the team ID when looking for an app’s mobile documents container. The Team ID must be included at the beginning of the identifier string passed to the URLForUbiquityContainerIdentifier: method.
  • NEW: In this beta, the setSortDescriptors: method of NSMetadataQuery is not supported.
  • NEW: In this beta, if you want to use iCloud, you have to manually specify various container identifiers (your application’s Display set) within an Entitlements file for both of your Mac OS X and iOS projects.
  • NEW: There are issues using the Cloud Storage document API in conjunction with protected data which can lead to data corruption.
  • NEW: In this beta, document-based applications cannot always detect when files change, move, or are deleted out from underneath them.
  • NEW: In this beta, file presenters (objects that adopt the NSFilePresenter protocol) do not receive some of the messages that they’re supposed to receive, especially:
  • prezentowanyprzedmiotDidChange
  • prezentowaneSubitemDidAppearAtURL:
  • prezentowaneSubitemDidChangeAtURL:
  • Można obejść ten problem, implementując metodę relinquishPresentedItemToWriter: i sprawdzając, czy autor rzeczywiście napisał, gdy prezenter pliku ponownie się zgłosi. Możesz także użyć FSEvents do obserwowania zmian w systemie plików
  • NEW: In this beta, messages about changes to files in a directory are not getting delivered to objects that adopt the NSFilePresenter protocol.
  • While reporting a bug related to the iCloud storage interfaces, please include the logs collected during your debugging session. To generate these logs, you must install a special debug profile on your device.
  • The debug profile can be obtained from http://connect.apple.com. This profile enables the generation of debug logs that are needed to diagnose any problems using iCloud storage. The instructions to collect the logs are:
  • Zainstaluj profil. (Najłatwiej to zrobić, wysyłając wiadomość do siebie i otwierając załącznik na swoim urządzeniu.)
  • Odtwórz błąd.
  • Zsynchronizuj z iTunes, aby pobrać dzienniki z urządzenia.
  • Dołącz dzienniki do raportu o błędzie. Dzienniki można znaleźć w katalogu ~/Library/Logs/CrashReporter/MobileDevice/DeviceName/DiagnosticLogs.
  • These logs can grow large quickly, so you should remove the profile after you have reproduced the problem and pulled the logs for the bug report.

iMessage

  • NEW: iMessage seed 2 will be unable to communicate with iMessage users on seed 1.
  • FIXED: Swiping the iMessage on/off switch and the MMS messaging on/off switch in Settings crashes it. Just tapping or toggling does not crash settings.
  • FIXED: In an iMessage conversation, video/audio attachments cannot be viewed in the transcript on either side of the conversation.

iTunes

  • Wersja iTunes dołączona do wersji beta 2 nie umożliwia synchronizacji urządzeń z zainstalowanym oprogramowaniem w wersji beta 1. Aby uniknąć tego problemu, wykonaj następujące czynności:
  • Zsynchronizuj wszystkie urządzenia z zainstalowaną wersją beta 1 z wersją iTunes dołączoną do wersji beta 1.
  • Zaktualizuj iTunes do wersji dołączonej do wersji beta 2.
  • Podłącz urządzenie i zainstaluj oprogramowanie beta 2. (Pamiętaj, że przy pierwszym podłączeniu urządzenia może pojawić się błąd synchronizacji.)
  • Po zainstalowaniu oprogramowania w wersji beta 2 przywróć dane z kopii zapasowej utworzonej w kroku 1.

MMS

  • NEW: Sending an MMS of large videos does not work.

Korekty zdjęć

  • Jeśli zastosujesz korektę efektu czerwonych oczu w systemie iOS i zaimportujesz obraz do kompilacji początkowej iPhoto, korekty efektu czerwonych oczu nie będą widoczne na tym obrazie w iPhoto. W rezultacie późniejsza synchronizacja obrazu z powrotem z urządzeniem iOS z iPhoto nie spowoduje wykazania korekty efektu czerwonych oczu.

Przypomnienia

  • NEW: The Reminders application does not send notifications for reminders that are based upon the entry (and/or exit) of a location if there is no date associated with the reminder.

Ustawienia

  • NEW: The “Back Up Now” button is enabled without the backup data class being enabled for the account.
  • NEW: If you bring up the keyboard of the terms in Settings->General->Software Update, you cannot dismiss it. You have to force quit Settings to get out.

trampolina

  • Powiadomienia push i lokalne dla aplikacji pojawiają się w nowym Centrum powiadomień w systemie iOS 5.0. Centrum powiadomień wyświetla powiadomienia uznane za „nieprzeczytane”. Aby uwzględnić powiadomienia push i powiadomienia lokalne, które nie mają statusu „nieprzeczytane”, programiści mogą wykorzystać liczbę identyfikatorów aplikacji do uruchomienia czyszczenia powiadomień z Centrum powiadomień. Gdy aplikacja wyczyści licznik identyfikatorów (ustawiając go na zero), system iOS 5 usunie powiadomienia z Centrum powiadomień.
  • Developers are strongly encouraged not to run or debug applications on the device prior to completing the device’s setup assistant. This will lead to unexpected behavior and will be a prevented operation in a future release.

Automatyzacja interfejsu użytkownika

  • Przyciski odtwarzania i nagrywania w edytorze skryptów instrumentu Automation mogą nie działać poprawnie po wybraniu aplikacji, która została uruchomiona przez sesję śledzenia i zakończyła się. Mogą również nie działać, jeśli celujesz w aplikację, która została zawieszona. Jeśli ten problem będzie się powtarzał, może być konieczne zamknięcie i ponowne otwarcie dokumentu śledzenia, aby przywrócić go do stanu funkcjonalnego.
  • Podczas przechwytywania działań w skrypcie za pomocą narzędzia Automation, interfejsy z widokami internetowymi lub komórkami tabeli, które zawierają dużą liczbę elementów poza ekranem, mogą zająć bardzo dużo czasu, zanim powrócą z wyrażeniem.
  • Funkcje lock() i unlock() UIATarget zostały zastąpione funkcją lockForDuration( ) praca.
  • Instruments zastępuje załadowany skrypt automatyzacji, nawet jeśli inny program go edytuje.
  • Starting iOS 5.0, beta 2 you can now trigger the execution of a UI Automation script on an iOS device from the host terminal by using the instruments tool. The command is:
  • instrumenty -w T

UIKit

  • NEW: Returning nil from the tableView:viewForHeaderInSection: method (or its footer equivalent) is no longer sufficient to hide a header. You must override tableView:heightForHeaderInSection: and return 0.0 to hide a header.
  • W wersji beta systemu iOS 5 klasa UITableView ma dwie metody przenoszenia jednej komórki z jednego wiersza do drugiego przy użyciu zdefiniowanych parametrów. Te interfejsy API mają:
  • przenieś sekcję: do sekcji:
  • moveRowAtIndexPath:toIndexPath:
  • Starting in iOS 5, the exclusiveTouch property of UIControl defaults to YES.
  • Używając klasy UIWebView w Konstruktorze interfejsów, w iOS 5 możliwe jest ustawienie przezroczystego koloru tła. Programiści kompilujący względem nowego zestawu SDK mogą sprawdzić swoje XIB pod kątem ustawienia przezroczystości UIWebView.
  • W wersji beta systemu iOS 5 implementacje UINavigationBar, UIToolbar i UITabBar zostały zmienione, tak że metoda remisRect: nie jest wywoływana w instancjach tych klas, chyba że jest zaimplementowana w podklasie. Aplikacje, które ponownie zaimplementowały metodę DrawRect: w kategorii dowolnej z tych klas, stwierdzą, że metoda DrawRect: nie została wywołana. UIKit sprawdza łącza, aby zapobiec wywoływaniu tej metody w aplikacjach połączonych wcześniej niż iOS 5, ale nie obsługuje tego projektu w systemie iOS 5 lub nowszym. Aplikacje mogą:
  • Użyj interfejsu API dostosowywania dla pasków w systemie iOS 5 i nowszych wersjach, co jest preferowanym sposobem.
  • Podklasę UINavigationBar (lub inne klasy słupków) i zastąp funkcję DrawRect: w podklasie.
  • Metody IndexPathForRow:inSection:, sekcja i wiersz NSIndexPath używają teraz NSInteger zamiast NSUInteger, dzięki czemu te typy są zgodne z metodami zdefiniowanymi w UITableView.
  • There is a known issue with presenting a UIVideoEditorControllerobject where it doesn’t show the selected video, which appears blank instead. In certain cases it may also crash.
  • Zdarzenia dotykowe nie są przekazywane do widoku we właściwości CameraOverlayView elementu UIImagePickerController.
  • NEW: The imagePickerController:didFinishPickingMediaWithInfo: method of UIImagePickerController 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).
  • NEW: We have changed the behavior of scrollToRowAtIndexPath:atScrollPosition:animated: such that UITableViewScrollPositionTop and UITableViewScrollPositionBottom now adjust for the top and bottom portions of the contentInset property.

WebKit

  • NEW: In iOS 5.0 beta 2, a new inherited CSS property, -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.
  • Framework WebKit wykorzystuje nowszy silnik WebKit, który jest bardzo podobny do Safari 5.1. Niektóre obszary, o których należy pamiętać w przypadku nowego środowiska WebKit na iOS:
  • Dostępny jest nowy parser zgodny z HTML5.
  • Szerokość układu tekstu może się nieznacznie zmienić, ponieważ zachowanie zaokrąglania wyrazów ma teraz precyzję zmiennoprzecinkową.
  • Poprawiono weryfikację pole formularza, które obejmuje usuwanie zer wiodących i formatowanie liczb.
  • Zdarzenia dotykowe są teraz obsługiwane w polach wejściowych.
  • window.onerror jest teraz obsługiwany.

Synchronizacja Wi-Fi

  • W systemie iOS 5.0 beta 2 synchronizacja bezprzewodowa jest teraz dostępna na komputerach Mac. Wymaga iTunes 10.5 beta 2 i OS X 10.6.8 lub Lion. Po podłączeniu urządzenia do iTunes za pomocą kabla USB zobaczysz opcję włączenia synchronizacji bezprzewodowej. Zaleca się wykonanie wstępnej synchronizacji za pomocą kabla po przywróceniu urządzenia.
  • 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). Be sure your device is plugged into a power source when performing Wireless syncs.
  • Jeśli zauważysz problemy z aplikacjami, multimediami i/lub zdjęciami zsynchronizowanymi z Twoim urządzeniem, możesz zresetować je, a następnie przeprowadzić ponowną synchronizację. Z Ustawienia -> Ogólne -> Resetuj wybierz Usuń całą zawartość i ustawienia. Następnie ponownie połącz się z iTunes i zsynchronizuj ponownie.
  • W tej wersji beta iTunes może błędnie wyświetlać Zdjęcia jako „Inne” na pasku pojemności. W przeciwnym razie synchronizacja zdjęć działa zgodnie z oczekiwaniami.

Xcode

  • You are strongly encouraged to back up your device using iTunes before restoring.
  • W niektórych przypadkach Xcode 4.2 Organizer nie wyświetla urządzenia znajdującego się w trybie przywracania. Aby obejść ten problem, możesz użyć iTunes do przywrócenia.
  • Na niektórych komputerach stacjonarnych użycie pamięci Xcode rośnie niewiarygodnie szybko podczas przywracania urządzenia lub kopiowania IPSW. Aby obejść ten problem, użyj iTunes do przywrócenia.
  • Sometimes Xcode 4.2 switches to a wrong scheme or run destination after an on-disk update.
  • W tej wersji beta dzienniki awarii (niesymbolizowane lub symbolizowane) nie pojawiają się w Xcode Organizer. Aby pojawiły się w Organizatorze Xcode, będziesz musiał zmienić nazwę urządzenia.
  • NEW: In iOS 5.0 beta 2, 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.