开发者社区 问答 正文

ios 声音播放问题

screenshot我想知道,怎么才能把homeViewController中的声音引入到AppSetViewController中,才能使这个开关能好使

展开
收起
杨冬芳 2016-06-30 15:00:53 2155 分享 版权
1 条回答
写回答
取消 提交回答
  • IT从业

    用NSNotificationCenter吧,在AppSetViewController中的UISwitch发送通知,。HomeViewController注册消息,收到消息,关闭音乐。screenshot

    2019-07-17 19:49:30
    赞同 展开评论
问答分类:
问答标签:
问答地址: