Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 iphone 应用程序中捕获视频。当用户开始捕获视频时,我想在委托方法下运行。它不会自动接听电话。知道如何调用此方法吗?
- (BOOL)startVideoCapture { timeLabel.text=@"Video is added"; }
您可以像这样调用方法:[self startVideoCapture];
[self startVideoCapture];
一个问题: Return这个方法的类型是BOOL。你不觉得,它应该return有一些BOOL价值吗?
Return
BOOL
return