开发者

iPhone App rejection audioPlayerDidFinishPlaying in my own header file class

开发者 https://www.devze.com 2023-03-30 03:15 出处:网络
If I include in my own header开发者_如何学JAVA file the method: - (void)audioPlayerDidFinishPlaying:(AVAudioPlayer *)player successfully:(BOOL)flag;

If I include in my own header开发者_如何学JAVA file the method:

- (void)audioPlayerDidFinishPlaying:(AVAudioPlayer *)player successfully:(BOOL)flag;

Will my iPhone app be rejected?

I've already submitted the binary. Do I have to reject it and resubmit, without this method in my own class header file?


You have no need to put this in your header. Just import the AVFoundation headers.

#import <AVFoundation/AVFoundation.h>

But you won' get rejected, no.


My best advice would be to wait and see. Just because they reject it, doesn't mean you can't make the necessary modifications and resubmit it. It's not taking too long to push apps through the process just now anyway.

I personally don't think they will reject it - but Apple do some funny stuff sometimes...


You put it there to let the compiler know you are going to use that method and that it exists and to avoid getting a warning, nothing more, the resulting executable is not gonna be different if you don't include that line.

Besides, it's a public method.

0

精彩评论

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

关注公众号