playiOSMovie in iOSMoviePlayback.mm don't work !!!
by Andrea Fraboni · in Torque 2D Professional · 06/10/2013 (11:55 am) · 1 replies
Hi to all
there is a problem using playiOSMovie in iOSMoviePlayback.mm
if I active TORQUE_ALLOW_MOVIEPLAYER compiling out errors as :
'release' is unavailable: not available in automatic reference counting mode ARC forbids explicit message send of 'release'
Then if I remove release and dealloc can compile but don't work.
Can anyone help me ?
Thanks
there is a problem using playiOSMovie in iOSMoviePlayback.mm
if I active TORQUE_ALLOW_MOVIEPLAYER compiling out errors as :
'release' is unavailable: not available in automatic reference counting mode ARC forbids explicit message send of 'release'
Then if I remove release and dealloc can compile but don't work.
Can anyone help me ?
Thanks
About the author
ASTRO SLAYERS my first game is on iTunes : https://itunes.apple.com/it/app/astro-slayers/id458581104?mt=8
Torque Owner Andrea Fraboni
C4DGames
when call this :
movieViewController = [[MPMoviePlayerViewController alloc] initWithContentURL: filePath];
I read in the console :
Jun 10 22:50:12 MacBook.local Torque2D[4948] <Error>: CGContextSaveGState: invalid context 0x0
Jun 10 22:50:12 MacBook.local Torque2D[4948] <Error>: CGContextClipToRect: invalid context 0x0
Jun 10 22:50:12 MacBook.local Torque2D[4948] <Error>: CGContextTranslateCTM: invalid context 0x0
Jun 10 22:50:12 MacBook.local Torque2D[4948] <Error>: CGContextDrawShading: invalid context 0x0
Jun 10 22:50:12 MacBook.local Torque2D[4948] <Error>: CGContextRestoreGState: invalid context 0x0