ios - 如何从另一个单例类更新 UISlider?

标签 ios uislider

我想根据另一个单例类生成的通知更新UISlider

sondDuration=audioPlayer.currentItem.asset.duration;
songDurationinSeconds=CMTimeGetSeconds(sondDuration);
[NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(updateTime:) userInfo:nil repeats:YES];

这是我的通知生成。

根据此我如何在另一个 ViewController 中更新我的 UISlider 请帮助我。

最佳答案

关于ios - 如何从另一个单例类更新 UISlider?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16412286/

相关文章:

ios - SKPayment/SKPaymentQueue : Cannot connect to iTunes Store

ios - 单击时更新标签

iphone - 获取 UIslider 轨道上的事件

iphone - 不要传递 UISlider 上的触摸

ios - 使用 AirPlay 时限制 AVPlayerDemo 中的 UISlider 擦洗

ios - Swift Firebase 删除帖子

ios - 如何创建小型 tableView Controller ?

ios - 如何以编程方式更改 UISlider 的缩略图大小

iphone - 找到第一响应者的 View

c# - MvvmCross - 在 UISlider 中处理绑定(bind)时获取 TargetInvocationException 和 SIGABRT