iPhone SDK 3.1 beta and iPhone OS 3.1 beta are now posted to the iPhone Dev Center. These versions are for development and testing only and should be installed on devices dedicated to iPhone OS 3.1 beta software development.
In terms of API there are a number of new methods added to AudioToolbox, OpenGLES, QuartzCore and UIKit (UIImagePickerController and UIVideoEditorController were updated).
Known Issues and Fixes
Xcode only searches for codesigning certificate identities in the default keychain as selected in Keychain Access.
You may only use
.pngfiles for application icons for the device.
The iPhone SDK is designed for Intel-based Macs and is not supported on PPC-based Macs.
Xcode and the iPhone SDK only work in 32-bit mode; 64-bit mode is not supported.
When running and debugging on a device, be sure to turn off Passcode lock.
Trying to debug two applications at the same time on the same device fails with a broken pipe error in the debugger console.
FIXED: If you use Interface Builder's
UITabBarControllerinspector to add a
UINavigationControllerto a tab bar controller, the navigation controller will be set up to show its toolbar. The toolbar won't be visible in Interface Builder, but will be visible at runtime, which is surprising. The workaround is to select the
UINavigationControllerand uncheck "Shows Toolbar" in the inspector.
In some upgrade scenarios from beta SDK releases, Interface Builder may be left with duplicate files, which causes errors such as: "Two plug-ins both integrate a class description for the class X." Removing
/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Interface\ Builderand re-installing corrects the issue.
Image thumbnails are not displayed when
ABPersonSetImageData()is called before
The Message UI framework exports class names without prefixes, which can cause namespace confusion. If you are using the Message UI framework, watch for compiler warnings about duplicate symbols. To avoid namespace issues, you can add prefixes to your own class names.
iPhone Simulator does not support network home directories.
You have to specify the image extension to
-imageNamed:to get results.
UIPasteBoardNameFindis not populated automatically, nor is the value in the pasteboard used when displaying a search field.
After zooming, content inset is ignored and content is left in the wrong position.
UIScrollViewcan be confused by overlapping touches in separate subviews.
UILineBreakModeMiddleTruncationdo not work properly for multiline text.
UITableViewcan generate an exception when the data model changes during animation.
UITableViewno longer ignores
separatorStyleis still ignored.
UITableViewwith sections cannot reorder a row to the bottom of the last section unless it started in that section.
Applications linked on iPhone OS 3.0 or later will get the new table view cell layout.
It is very, very expensive to customize row heights (via
Unable to resize table wider than the screen.
accessoryActionproperty is deprecated. Instead, implement
-tableView:accessoryButtonTappedForRowWithIndexPathin your table view delegate.
No way to select all the text in a field if it exceeds the text field's visible area.
UITextFieldcannot be made to resign first responder once offscreen.
YESshould not automatically show the keyboard.
UITouchis not adjusted when a layer has a transform applied to it.
An application will not receive
UITouchPhaseBeganif a swipe begins on or above the status bar.
Many UIKit controls cannot be resized properly if initialized with a
animationDidEndfires too soon and can cause animations to stutter if you do too much work in the callback.
If a view subclass implements
-drawRect:then the background color for that view subclass cannot be animated.
A full-screen modal navigation controller doesn't display under the status bar in a non-full-screen window.
For applications linked prior to 2.2, view controllers within a navigation controller will only underlap a translucent navigation bar if their view is a scroll view. For applications linked to 2.2. or later, view controllers within a navigation controller will always have their view positioned to underlap a translucent navigation bar.
UITabBarControllerhas more items than can be displayed onscreen and the selected item on startup is within the More collection, changing the title of that item's view controller changes that view controller's title and the title of that item's
TabBarItem. It also has the erroneous result that that item's
TabBarItemis overlaid on the first
FIXED:View controllers added to a tab bar controller don't behave correctly when
hidesBottomBarWhenPushedis set to
FIXED: When view controllers are pushed onto the stack, toolbars with their translucency changed now hide correctly.
FIXED: Navigation controllers now respond correctly when popping from landscape view to portrait view.
UIWebViewdoes not make public its