+ [ios] update default to cycslider

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

Branch: refs/heads/apache-0.15-dev
Commit: eca0f51ece319aa69de0500d808996c63a67cb47
Parents: 0b6aeb1
Author: 齐山 <sunjjb...@163.com>
Authored: Mon Jul 17 14:13:08 2017 +0800
Committer: misakuo <misa...@apache.org>
Committed: Mon Jul 17 15:41:10 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eca0f51e/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m 
b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
index 016e11f..78a2b08 100644
--- a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
+++ b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
@@ -207,7 +207,7 @@ typedef enum : NSUInteger {
     if ([configCenter 
respondsToSelector:@selector(configForKey:defaultValue:isDefault:)]) {
         BOOL useCoreText = [[configCenter 
configForKey:@"iOS_weex_ext_config.text_render_useCoreText" defaultValue:@YES 
isDefault:NULL] boolValue];
         [WXTextComponent setRenderUsingCoreText:useCoreText];
-        id sliderConfig =  [configCenter 
configForKey:@"iOS_weex_ext_config.slider_class_name" 
defaultValue:@"WXSliderComponent" isDefault:NULL];
+        id sliderConfig =  [configCenter 
configForKey:@"iOS_weex_ext_config.slider_class_name" 
defaultValue:@"WXCycleSliderComponent" isDefault:NULL];
         if(sliderConfig){
             NSString *sliderClassName = [WXConvert NSString:sliderConfig];
             if(sliderClassName.length>0){

Reply via email to