3 Commits

Author SHA1 Message Date
Michael Jordan
af7394ccd3 Update version to 1.0.2 2015-12-16 15:34:14 -05:00
Michael Jordan
71640de527 Fix Issue #26: Fails to compile with cordova-ios 4.0.0
Per @shazron, use `self.commandDelegate evalJs`.
2015-12-16 15:29:21 -05:00
Michael Jordan
188d5c583c Update version after creating tag at 1.0.1 2015-10-07 13:30:58 -04:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "phonegap-plugin-mobile-accessibility",
"description": "PhoneGap Mobile Accessibility Plugin",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "http://github.com/phonegap/phonegap-mobile-accessibility#readme",
"repository": {
"type": "git",

View File

@@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="phonegap-plugin-mobile-accessibility"
version="1.0.1">
version="1.0.2">
<name>Mobile Accessibility</name>
<description>PhoneGap Mobile Accessibility Plugin</description>
<license>Apache 2.0</license>

View File

@@ -180,7 +180,7 @@
mFontScale = zoom/100;
if (iOS7Delta) {
NSString *jsString = [[NSString alloc] initWithFormat:@"document.getElementsByTagName('body')[0].style.webkitTextSizeAdjust= '%f%%'", zoom];
[[self webView] stringByEvaluatingJavaScriptFromString:jsString];
[self.commandDelegate evalJs:jsString];
}
}