代码之家  ›  专栏  ›  技术社区  ›  alexyorke

进度条/微调器在可可中不工作

  •  0
  • alexyorke  · 技术社区  · 15 年前

     [progressIndicator startAnimating];
    

    它也被合成,并正确地包含在.h和.m文件中。我已经在IB中连接了它。

    代码似乎不适用于进度条或微调器。

    1 回复  |  直到 15 年前
        1
  •  6
  •   Carl Norum    15 年前

    startAnimating 不是一种 NSProgressIndicator . 尝试:

    [progressIndicator startAnimation:self];
    

    setUsesThreadedAnimation: ,这也许能帮到你。

    推荐文章