You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2012/05/22 21:00:39 UTC
docs commit: References CB-819 - alert in callback
Updated Branches:
refs/heads/master 77538df18 -> 1bd5b7e0b
References CB-819 - alert in callback
added quirk for iOS about using alert in callback. Updated
options iOS quirks to remove statement that files in temporary directory
are deleted when app closes.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/1bd5b7e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/1bd5b7e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/1bd5b7e0
Branch: refs/heads/master
Commit: 1bd5b7e0b0eea825d480b08eb0836c36c37d7a7a
Parents: 77538df
Author: Becky Gibson <be...@apache.org>
Authored: Tue May 22 10:02:21 2012 -0400
Committer: Becky Gibson <be...@apache.org>
Committed: Tue May 22 10:02:21 2012 -0400
----------------------------------------------------------------------
docs/en/edge/cordova/camera/camera.getPicture.md | 7 ++++++-
.../edge/cordova/camera/parameter/cameraOptions.md | 3 +--
2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/1bd5b7e0/docs/en/edge/cordova/camera/camera.getPicture.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/camera/camera.getPicture.md b/docs/en/edge/cordova/camera/camera.getPicture.md
index 001f246..5f633fd 100644
--- a/docs/en/edge/cordova/camera/camera.getPicture.md
+++ b/docs/en/edge/cordova/camera/camera.getPicture.md
@@ -49,11 +49,16 @@ Supported Platforms
- Android
- Blackberry WebWorks (OS 5.0 and higher)
-- iPhone
+- iOS
- Windows Phone 7 ( Mango )
- Bada 1.2
- webOS
+iOS Quirks
+----------
+
+Including a JavaScript alert() in either of the callback functions can cause problems. Wrap the alert in a setTimeout() to allow the iOS image picker or popover to fully close before the alert is displayed: setTimeout("alert('message');", 0);
+
Windows Phone 7 Quirks
----------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/1bd5b7e0/docs/en/edge/cordova/camera/parameter/cameraOptions.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/camera/parameter/cameraOptions.md b/docs/en/edge/cordova/camera/parameter/cameraOptions.md
index 5cc7884..003a92a 100644
--- a/docs/en/edge/cordova/camera/parameter/cameraOptions.md
+++ b/docs/en/edge/cordova/camera/parameter/cameraOptions.md
@@ -108,8 +108,7 @@ iOS Quirks
--------------
- Set `quality` below 50 to avoid memory error on some devices.
-- When `destinationType.FILE_URI` is used, photos are saved in the application's temporary directory.
-- The contents of the application's temporary directory is deleted when the application ends. Developers may also delete the contents of this directory using the navigator.fileMgr APIs if storage space is a concern.
+- When `destinationType.FILE_URI` is used, photos are saved in the application's temporary directory. Developers may delete the contents of this directory using the navigator.fileMgr APIs if storage space is a concern.
Windows Phone 7 Quirks
--------------