From Xojo Documentation
Xojo 2016 Release 2 brought many new changes to iOS projects, some of which may require you to update your existing projects.
Launch Images are no longer needed. Because Apple no longer uses this method for devices such as the larger iPad Pro, it is no longer needed for your apps. By default your apps will have a default, blank launch screen. You no longer need to create launch images to support the full screen on all the iPhone devices. You can safely remove the Launch Images item from your existing projects.
iOSTable and Related Classes and Interfaces
iOSTable now supports these new capabilities:
- row actions
- row editing
- row re-ordering
- custom cells
Learn more about these features in the UserGuide:Working with Tables topic.
These new features required changes to the iOSTable API that could break existing projects.
iOSTableCellData no longer has a Constructor. Instead you need to use the iOSTable factory method: CreateCell. Code like this:
Needs to be changed to this:
The iOSTableDataSource interface has a new parameter added (as the first parameter) to all its methods: table As iOSTable. You will need to update the method signature for the RowCount, RowData, SectionCount and SectionTitle methods.
New Controls and Classes
The iOSMotion class provides motion updates from the device. These motion updates from iOS are combined from both the accelerometer and gyroscope.
The iOSLocation control is used to request location coordinates and updates from the device.
The iOSPicturePicker provides a way for the user to take a picture or choose an existing picture from the camera roll or photo library.
You can now use the iOSScrollableArea control to allows users to view content that does not fit on the screen of the device. To use this, create a Container Control with the content that does not fit on the view, then add a Scrollable Area control to the View and sets its Content property to the Container Control.
The iOSSharingPanel allows the application to share text, a URL, or a picture with any registered system service or app.
In prior versions, you and to create your toolbars exclusively in code. This still works, so you don't need to update your projects if you use toolbars. But you now have the option of creating toolbars visually in the View Layout Editor. Simply drag a ToolButton from the Library to the top of a view (left or right) to add to the Navigation Bar or drag it to the bottom of the view to add it to the toolbar.
You continue to handle toolbar events in the iOSView.ToolbarPressed event handler. Learn more about toolbars in the iOS Toolbars topic of the User Guide.
The iOS SQLite classes have all been renamed to have an "iOS" prefix. You'll need to change your usage of SQLiteDatabase, SQLiteDatabaseField, SQLiteException and SQLiteRecordSet to use iOSSQLiteDatabase, iOSSQLiteDatabaseField, iOSSQLiteException and iOSSQLiteRecordSet.
iOS 7 Support
Xojo 2016 Release 2 and later no longer support iOS 7. Your apps now require iOS 8 or later.