开发者

How to set delay before taking a picture by iphone camera?

How to set delay before taking a picture by iphone c开发者_C百科amera? I use UIImagePickerController. Is there some simple way for it?


call a method with your "take the pic" after a delay, try this:

[self performSelector:@selector(myMethodToTakeThePhoto) withObject:nil afterDelay:3.5];


-(void)myMethodToTakeThePhoto{
// take the photo
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜