开发者

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

开发者 https://www.devze.com 2023-02-12 14:43 出处:网络
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:

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

精彩评论

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

关注公众号