mirror of
https://gitee.com/shuto-github/phonegap-mobile-accessibility.git
synced 2026-03-31 00:00:07 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af7394ccd3 | ||
|
|
71640de527 | ||
|
|
188d5c583c |
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user