Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Sider控件不可用 #396

Open
JohnTsaii opened this issue May 6, 2023 · 1 comment
Open

iOS Sider控件不可用 #396

JohnTsaii opened this issue May 6, 2023 · 1 comment
Assignees

Comments

@JohnTsaii
Copy link
Collaborator

描述这个问题
GXSliderNode 里写死了UIPageControl的样式,完全不可以自定义!

        //指示器创建
        UIPageControl *pageControl = [[UIPageControl alloc] init];
        pageControl.frame = CGRectZero;
//        pageControl.pageIndicatorTintColor = [UIColor colorWithRed:255/255.0 green:255/255.0 blue:255/255.0 alpha:0.3];
//        pageControl.currentPageIndicatorTintColor = [UIColor colorWithRed:255/255.0 green:255/255.0 blue:255/255.0 alpha:1];
        pageControl.pageIndicatorTintColor = [UIColor redColor];
        pageControl.currentPageIndicatorTintColor = [UIColor greenColor];
        pageControl.enabled = NO;
        pageControl.numberOfPages = self.items.count;
        
        [view addSubview:pageControl];
        _pageControl = pageControl;

复现步骤
必现

预期正确的结果
可以根据模板自定义

截图

如果可以的话,添加截图来帮助解释您的问题。

客户端 (请填写如下信息) :

  • 设备: [e.g. iPhone6]
  • 系统: [e.g. iOS8.1]
  • GaiaX SDK版本 [e.g. 0.1.0]
  • Gaia Studio版本 [e.g. 0.1.0]
  • GaiaX 模板文件和模板数据

崩溃日志

在这里添加崩溃日志sider 指示器的样式

附加信息
iOS非常不严谨,很多功能都是写死的。如 这个issue

@biezhihua
Copy link
Collaborator

@JohnTsaii 这个需要花时间来修复一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants