Category Archives: iOS

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

iOS 4.3 brings better performance.

Apple’s iOS 4.3 includes a new JavaScript runtime engine. Since NS Basic/App Studio works by translating BASIC code into JavaScript for execution, we tested to see what difference the new version makes. iOS 4.2.1 iOS 4.3 diff iPhone 4 180,428 … Continue reading

Posted in iOS, javascript | Comments Off on iOS 4.3 brings better performance.