开发者

iPhone App rejection audioPlayerDidFinishPlaying in my own header file class

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜