AVFoundation

Latest

  • Reuters TV crams streaming news into your iPhone

    by 
    Timothy J. Seppala
    Timothy J. Seppala
    02.04.2015

    Reuters is getting in on the streaming news game, too. With Reuters TV, the outfit's targeting commuters that want to keep up on current events with personalized, on-demand and live content that's downloadable for offline viewing. Reuters promises real-time coverage as well, giving examples like streaming protests in Egypt or presidential speeches from our nation's capitol. Video content will range from 5 - 30 minutes in length and is produced exclusively for the iOS app, drawing from the news organization's some 2,500 journalists on the ground in over 160 countries. Sounds a bit like what the BBC recently did for its app, and this could be great for folks where underground WiFi and cell data isn't available just yet, we'd imagine.

  • devsugar: Accessing an iPhone camera capture session

    by 
    Erica Sadun
    Erica Sadun
    07.22.2010

    With the imminent demise of UIGetScreenImage, a number of readers have asked me how they can use the newer AVFoundation approach to access screen data in their iPhone applications. I went ahead and built some sample code that, when I'm finished messing with it, will be part of chapter 7 of my revised cookbook. I have uploaded the current version to github. It consists of a simple helper class that allows you to start and stop a capture session. You can request an image from this helper (namely, the last captured image from the buffer), which in this example is loaded into a central image view at the end-user's request. You can also ask it for a view with an embedded preview, using the current session. The example project adds that preview to the navigation bar. I threw this example together pretty quickly, and as always, I welcome suggestions and improvements.