Simon Cruise
a799d552c8
Screen Orientation Plugin to rotate screen to portrait and landscape mode
...
The status bar and screen will be rotated with animation to the desired
orientation.
To use the AppDelegate must have the main view controller that extends
CDVViewController as a member variable called viewController.
This main view controller must also have the following modifications.
Header file should have the below allowed orientations variable
introduced.
@interface MainViewController : CDVViewController {
NSMutableArray *allowedOrientations;
}
@property (nonatomic, retain) NSMutableArray *allowedOrientations;
Source file should have the allowedOrientations synthesized.
@synthesize allowedOrientations;
Then perform setup in viewDidLoad method. UIDeviceOrientationPortrait
can be replaced with UIDeviceOrientationLandscapeRight depending on
desired start up orientation.
- (void) viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
self.allowedOrientations = [NSMutableArray array];
[self.allowedOrientations addObject:[NSNumber
numberWithInt:UIDeviceOrientationPortrait]];
}
Finally implement shouldAutorotateToInterfaceOrientation method with
the following.
- (BOOL)
shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interface
Orientation
{
// Return YES for supported orientations
return [allowedOrientations containsObject:[NSNumber
numberWithInt:interfaceOrientation]];
}
2012-08-31 10:55:31 +01:00
James Gregory
ee5a83debd
Change CDVPlugin.h import to use correct filename
...
Plugin doesn't compile because it's trying to import a CDVlugin.h.
Changed to correct filename.
2012-08-28 17:57:06 +10:00
Shazron Abdullah
858dae27e1
Merge pull request #516 from kissthink/master
...
[iOS] call vendor app by Custom URL Schemes if not exits and goto a url to download
2012-08-27 15:15:26 -07:00
Shazron Abdullah
65669671e6
Merge pull request #606 from poblcreative/master
...
[iOS] Zip file plugin for iOS, using SSZipArchive
2012-08-27 15:15:01 -07:00
Shazron Abdullah
c37ea6da8c
Merge pull request #652 from jesses16/master
...
[iOS] Fixed ShareToMail plugin function to properly accept email parameters
2012-08-27 15:10:17 -07:00
Shazron Abdullah
761cdb4d9b
Merge pull request #703 from josemando/master
...
[iOS] ShareKit - Fixing 'share' method
2012-08-27 15:06:49 -07:00
Shazron Abdullah
2f57931cb4
Merge pull request #705 from kieranshaw/master
...
[iOS] Fix for issue #704 : GoogleAnalyticsPlugin upgrade to Cordova 2.0
2012-08-27 15:05:50 -07:00
Shazron Abdullah
7429c53308
Merge pull request #715 from ehershey/master
...
[iOS] Modified applicationPreferences ios plugin to work with phonegap 2.0
2012-08-27 15:04:30 -07:00
Shazron Abdullah
94401082c4
Merge pull request #724 from duncanmcdougall/master
...
[iOS] DatePicker - Added allowFutureDates option.
2012-08-27 15:03:19 -07:00
Shazron Abdullah
6a7d3d8941
Merge pull request #739 from thoolihan/master
...
[iOS] Add getCalendarList and add calendar title parameter to createEvent
2012-08-27 15:02:54 -07:00
Shazron Abdullah
5b657ea54f
Merge pull request #727 from triceam/master
...
[Android] Updated LowLatencyAudio for Android to use Cordova namespace
2012-08-27 14:51:37 -07:00
tommy-carlos williams
a74af6d5ef
Merge pull request #746 from josafafilho/message-box-prompt-email
...
Add the email text field type to prompt MessageBox
2012-08-20 22:22:14 -07:00
tommy-carlos williams
dae3f90578
Merge pull request #747 from AndiDog/master
...
Support tab bar tint color, documented using retina-quality tab images
2012-08-20 22:20:38 -07:00
Andreas Sommer
9d9f9a6f32
Documented usage of retina quality images
2012-08-20 20:53:29 +02:00
Josafa Filho
7448e3f433
Add the email text field type to prompt MessageBox
2012-08-20 11:34:47 -03:00
RandyMcMillan
dd5a7b17ef
CDV 2.0 (iOS) iAdPlugin
...
added CDV 2.0 /www example
2012-08-20 08:33:46 -04:00
Tim Hoolihan
c29ffb7979
Added method to fetch calendar list, and optional calendar name for create event
2012-08-17 14:52:14 -04:00
Becky Gibson
2422b3cfb9
Merge pull request #719 from mow415/master
...
Updates to Globalization plugin for Blackberry, Android, and iOS
2012-08-17 09:43:13 -07:00
Andreas Sommer
0621d259ad
Add support for tab bar tint (only on iOS 5 or newer)
2012-08-17 15:16:15 +01:00
Andrew Trice
c1cda6a855
updated readme
2012-08-15 15:43:25 -04:00
Andrew Trice
54022f9204
updated url in readme
2012-08-15 15:39:09 -04:00
Andrew Trice
83f33d4655
added ExternalFileUtil native plugin
2012-08-15 15:37:15 -04:00
Andrew Trice
78de9d8c72
updated phone gap file references
2012-08-13 11:20:40 -04:00
Andrew Trice
90ab3140c2
updated ExternalScreen plugin for Cordova naming conventions, updated multi-screen fleet manager demo, moved PGLowLatencyAudio samples to the iOS directory
...
Updated ExternalScreen plugin for Cordova naming conventions - works
with PhoneGap 2.0
Updated multi-screen fleet manager demo - uses updated ExternalScreen
plugin, uses Leaflet instead of google maps (better animation, no api
key dependency)
Moved PGLowLatencyAudio samples to the iOS directory
2012-08-13 11:09:47 -04:00
Duncan McDougall
3a68c714c3
[DatePicker iOS] Added allowFutureDates option.
...
Previously the options only allowed setting whether old dates can be
selected. This adds support for disabling selected of dates in the
future.
2012-08-11 17:54:47 +01:00
mow415
770070ba16
Updated Globalization plugin for use with Cordova 2.0 and add
...
getPreferredLanguage API
2012-08-08 09:32:22 -07:00
Ernie Hershey
3472fe5d86
Fix README syntax
2012-08-06 15:34:21 -04:00
Ernie Hershey
573c1ae9c6
updated for phonegap 2.0
2012-08-06 15:29:49 -04:00
RandyMcMillan
948db0e614
PayPal (iOS) CDV 2.0 compliance
2012-08-04 02:07:46 -04:00
Kieran Shaw
cc44244108
Fix for #704 : Upgrade GoogleAnalyticsPlugin to Cordova 2.0
2012-08-02 17:23:07 +01:00
Jesse MacFadyen
74cbbb2690
Merge pull request #681 from nuttyknot/master
...
update iOS barcodescanner to support PhoneGap 2.0
2012-08-02 08:57:39 -07:00
Josemando Sobral
fa3a32cce1
fixing problem with share method
2012-08-02 09:29:54 -03:00
RandyMcMillan
8d1ea688db
Twitter (iOS) CDV 2.0 Compliance
2012-07-31 17:07:42 -04:00
RandyMcMillan
b4c386fd7e
SMS Composer CDV 2.0 Compliance
2012-07-31 15:17:28 -04:00
RandyMcMillan
682f3329c5
Email Composer (iOS) CDV 2.0 compliance
2012-07-31 15:01:03 -04:00
RandyMcMillan
2749a2a8c5
README.md update
2012-07-31 03:08:29 -04:00
RandyMcMillan
cbdfc970bd
README.md update
2012-07-31 03:06:50 -04:00
RandyMcMillan
31082f2cdd
README.md update
2012-07-31 02:51:42 -04:00
tommy-carlos williams
5693f19892
Update VolumeSlider for Cordova 2.0
2012-07-31 09:51:47 +10:00
tommy-carlos williams
6dce9ec27c
Update VolumeSlider for Cordova 2.0
2012-07-31 09:50:54 +10:00
tommy-carlos williams
46f7d41ee0
Update VolumeSlider for Cordova 2.0
2012-07-31 09:50:10 +10:00
RandyMcMillan
7765b54ffc
ChildBrowser (iOS) basic index.html update
...
<script type="text/javascript" charset="utf-8"
src="cordova-2.0.0.js"></script>
<script type="text/javascript" charset="utf-8"
src="ChildBrowser.js"></script>
2012-07-30 16:44:34 -04:00
RandyMcMillan
e95952aca7
README.md update for 2.0
2012-07-30 16:40:25 -04:00
RandyMcMillan
34e8e862de
Comply with 2.0 CORDOVA_FRAMEWORK header
...
4. Change in import header use: in 2.0.0, Cordova projects use the
CordovaLib project as a subproject, it now uses the CORDOVA_FRAMEWORK
styled import like this:
#import <Cordova/CDV.h>
instead of like this:
#import "CDV.h"
So now in 2.0.0, Cordova import headers are unified.
2012-07-30 16:34:53 -04:00
tommy-carlos williams
07fcdaf7d3
Merge pull request #693 from AndiDog/master
...
Port to Cordova 2.0 and backwards compatibility iOS < 5.0
2012-07-28 03:09:52 -07:00
Jesse MacFadyen
c31263c17e
updates for ChildBrowser in iOS 2.0
2012-07-27 14:05:36 -07:00
Andreas Sommer
27a3c4a3d5
Fixed background image stretching with iOS < 5.0
2012-07-27 11:51:48 +01:00
Andreas Sommer
cbd7b6760b
Ported to Cordova 2.0
2012-07-27 11:38:17 +01:00
Rodrigo Moyle
52a64c7ff6
Correct typo on foreground notification parameter
2012-07-24 11:44:35 -03:00
Tiratat Patana-anake
9f68ff9987
Update zxing from 1.7 to 2.0
...
update barcodescanner.js to support PhoneGap 2.0
2012-07-23 17:06:00 +07:00