【发布时间】:2010-09-18 12:46:46
【问题描述】:
所以我的委托中有这个变量,名为 AppDelegate.h:
AVAudioPlayer *introSound;
它在第一次加载时连续播放。
[introSound stop];
我想做的是从一个单独的控制器 firstController.m 中阻止它。
我试过了
[AppDelegate.introSound stop];
但它抛出了一个错误说:
错误:在 '.' 之前应为 ':'令牌
这是什么原因造成的?
【问题讨论】:
标签: ios avfoundation avplayer