I'm using AVAssetWriter, and it is perfectly working on iOS6.
The problem is, when I called finishWritingWithCompletionHandler
, the completion handler is not called on iOS7 GM.
I called markAsFinished
, and even endSessionAtSourceTime
before I call finishWritingWithCompletionHandler.
It works fine on iOS6.
And even more, on iOS7, it works some times, and then it doesn't work again.
I don't know why, but it works if I call the method using alert view.
So I tried performSelectorOnMainThread
and inBackground
, but it didn't help.
Any ideas?