You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/08/24 10:36:08 UTC

[20/24] incubator-weex git commit: * [ios] remove test case method

* [ios] remove test case method


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/b367a053
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/b367a053
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/b367a053

Branch: refs/heads/0.16-dev
Commit: b367a05352a62edc78445dcbd7ea52cc34a4eec2
Parents: b3c9adf
Author: acton393 <zh...@gmail.com>
Authored: Tue Aug 22 16:40:47 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Aug 22 16:40:47 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Module/WXVoiceOverModule.m | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b367a053/ios/sdk/WeexSDK/Sources/Module/WXVoiceOverModule.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Module/WXVoiceOverModule.m b/ios/sdk/WeexSDK/Sources/Module/WXVoiceOverModule.m
index c329b55..1becd0e 100644
--- a/ios/sdk/WeexSDK/Sources/Module/WXVoiceOverModule.m
+++ b/ios/sdk/WeexSDK/Sources/Module/WXVoiceOverModule.m
@@ -31,7 +31,6 @@
 WX_EXPORT_METHOD(@selector(read:param:))
 WX_EXPORT_METHOD(@selector(focusToElement:))
 WX_EXPORT_METHOD_SYNC(@selector(isVoiceOverOn))
-WX_EXPORT_METHOD(@selector(focusToNavigationBack))
 - (instancetype)init
 {
     if ([super init]) {
@@ -79,12 +78,6 @@ WX_EXPORT_METHOD(@selector(focusToNavigationBack))
     }
 }
 
-// just for test case
-- (void)focusToNavigationBack
-{
-    UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, self.weexInstance.viewController.navigationController.navigationItem.backBarButtonItem);
-}
-
 - (void)dealloc {
     [[NSNotificationCenter defaultCenter] removeObserver:self name:UIAccessibilityVoiceOverStatusChanged object:nil];
 }