Skip to main content

Posts

iOS Dev: Dismissing MPMoviePlayerViewController

If you have used the  MPMoviePlayerViewController  to play videos in  iOS , chances are you have gotten a little frustrated by its rigidness. A couple of issues I personally encountered were: When presented modally, the view controller did not respect the modal transition style I had chosen for it. When the  video  finished playing, the view controller dismissed itself automatically. I wanted it to remain visible until the user pressed the Done button. A couple of hours of browsing for the solution to no avail, I decided to try out sort of a hack, which turned out to work great.   The trick is to  remove the MPMoviePlayerViewController instance from the MPMoviePlayerPlaybackDidFinishNotification notification observers , and instead handle it yourself. Seems like this view controller listens to this notification and auto dismisses itself when it’s fired. In my application, I present a thumbnail of the video. When touched, the video is ...

iConcepts:Mobile Emulators & Simulators: The Ultimate Guide

Mobile Emulators & Simulators: The Ultimate Guide Reference Source  :  See Here I’ve mixed all this information to create this ultimate guide to  37 download resources  for hundreds of emulators and simulators. Enjoy! This list includes content from  Programming the Mobile Web book  with frequent updated information & links. List of mobile and tablet emulators for mobile web design & development testing Name Official Platform Type   Browser testing Native testing Compatibility IOS SIMULATOR Official iOS Simulator   Safari only Objective-C Download 3.7Gb (login required)   Devices : iPhone 3GS, iPod Touch, iPhone 4, iPad (Tablet) Comes with XCode and Native SDK. You can’t emulate Accelerometer/Gyroscope (DeviceMotion API ). You can’t emulate URI-schemes, such as  click-to-call . As a Simulator, it doesn’t provide an AppStore; you can’t install other browsers for testing, such as Opera Mini or Skyfire.   ...