Category Archives: iOS

Using the Safari View Controller with PhoneGap

To be approved in the iTunes Store, Apple may require that your app open web pages inside your app, instead of opening Safari externally in another app window. It provides a better experience to the user. When you open Safari … Continue reading

Posted in iOS, PhoneGap, tips | Comments Off on Using the Safari View Controller with PhoneGap

AppStudio 4: Using the Camera

AppStudio 4 makes it much easier to use the camera from your device. Before, there was a complex chain of events which had to be managed, and a bug in iOS made things difficult. Let’s walk through a simple app. … Continue reading

Posted in Android, iOS, tips | Comments Off on AppStudio 4: Using the Camera

Debugging your app on an iOS device

Ever wanted to debug your app while it’s actually running on an iPhone or iPad? You can do so if you have a Mac.

Posted in iOS, tips | Comments Off on Debugging your app on an iOS device

When do databases get overwritten?

Recently, Thomas Gruber raised the question about when databases get overwritten on an iOS 6 device. We looked into and found it was indeed a good question. First, there were some bugs in the SQLImport() function that needed to be … Continue reading

Posted in iOS, tips | Comments Off on When do databases get overwritten?

Running your app in Kiosk mode

iOS 6 brings a nice new feature to both iPads and iPhones: the ability to run your app in kiosk mode. Your app becomes the only one running on the device and the home button is disabled. Turn the device … Continue reading

Posted in iOS, tips | Comments Off on Running your app in Kiosk mode

iOS 6 getter/setter Bug

UPDATE: This is no longer a problem in AppStudio 3. See AppStudio 3: Moving, resizing and hiding controls. In App Studio 2.5.0, we introduced some functions which made it easier to resize controls. They worked nicely on all versions of … Continue reading

Posted in iOS, tips | Comments Off on iOS 6 getter/setter Bug

iOS 6 AJAX Caching Bug: Solution

It seems iOS6 has introduced a ‘bug’ in Ajax calls – specifically it caches any Ajax “POST” call so that subsequent reads access the cached file instead of the original on your website which you may have changed. ┬áThe solution … Continue reading

Posted in iOS, tips | Comments Off on iOS 6 AJAX Caching Bug: Solution

Important: iOS6 and Data Storage

iOS 6 was released today. It has some important differences in how data is stored. For some users, it will appear that all data is lost. Read this to understand why and learn a workaround. The information in this blog … Continue reading

Posted in iOS, tips | Comments Off on Important: iOS6 and Data Storage

Changing the splash screen at runtime

If you save an app to the home screen on an iOS device, you can display a nice splash screen when it launches. But what if the user switches to a different app, then returns to yours? It will have … Continue reading

Posted in iOS, tips | Comments Off on Changing the splash screen at runtime

iWebInspector: Debugging on iOS devices

An amazing new product crossed my desk today. iWebInspector lets you open up a debugging session on an NS Basic/App Studio app that is running in the iOS iPhone or iPad Simulator. It was developed by Max Firtman (who has … Continue reading

Posted in iOS, tips | Comments Off on iWebInspector: Debugging on iOS devices