Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Greetings! I've recently agreed to work for a friend to try to get his iPhone app updated to be compatible with iPhone OSv4.0. I'm well-versed in C, C# and Java, so I'm making my way alright through the Objective-C code, but am starting to run out of ideas, so I figured I'd turn to the forums and see if other people were experiencing similar issues.
The app is an audiobook-style app, that showcases the services his business provides. eReader is used for the navigation, and it displays videos whose URL is resolved through a sqlite3 database. The Video Player they use extends the MPMoviePlayerController if I'm reading this correctly:
The app worked fine in OS version 3.2, however it won't work on any device running OS version 4.0. Instead of playing the videos correctly, it simply crashes the program. With a little fiddling I was able to get it to play audio form the video, with a black screen, but when I attempt to play a subsequent video, the app still crashes (SIGABRT). At first I thought it was an issue with the sqlite database, but since it is able to retrieve the audio correctly, I'm beginning to think the issue may lie in the MPMoviePlayerController. Are there any known compatibility issues in OS 4.0 that could cause this sort of behavior?
I've tried tracing it to a specific line of code, but using breakpoints only allows me to access the event handlers, which all execute and return correctly. But upon, say, clicking the "Next Video" button, the method executes correctly and returns, but once I continue execution, the program crashes.
Any suggestions? It's quite a lot of code which I'm not familiar with, and any nudges in the right direction would be greatly appreciated.