IOS7

From NSB App Studio
Revision as of 00:33, 26 September 2013 by Lpeaker (talk | contribs) (→‎Known Bugs)
Jump to navigation Jump to search

This page keeps track of information about iOS7 for AppStudio users. Feel free to add your tricks and workarounds!

Max Firtman has a general overview here.

New Features

  1. New style: default font style is Helvetica Neue. Since it is a bit finer than regular Helvetica, consider moving up the font size. To look even more like iOS7, get rid of the striped background and use blue labels. Here's a good cheat sheet on some of the design differences.
  1. New Date inputType on TextBox control.
  2. New Time inputType on TextBox control.
  3. New Progress Control
  4. Text to Speech

Known Bugs

  1. mailto:, tel:, sms: etc. tags do not work when saved to Home Screen.
  2. Simple MsgBox does not work properly. Use NSB.MsgBox instead
  3. JavaScript alert, confirm and prompt do not work.
  4. StatusBar overlaps the top of the app. The workaround is to not use the top 20 pixels of the screen.
  1. There is a problem with SQLite databases that are over 5 megs.
  2. In Safari preferences, "Block Cookies" needs to be set to "Never" or "No Third Party". It cannot be "Always". Otherwise, localStorage and SQLite statements will not work.
  3. The NSB property ‘status bar’, it effects IOS 7.0 Status Bar in this way:
    1.	Set to black-translucent = black translucent
    2.	Set to black = white translucent
    3.  Set to default  = black translucent

Testing if iOS 7 is running

If InStr(navigator.appVersion,"iPhone OS 7_0") >0 Then 
  Print "iOS7"
Else
  Print "not iOS7"
End If