mateagar / Motion-JPEG-Image-View-for-iOS

Generic UIImageView subclass designed to load and play Motion-JPEG streams such as commonly used with IP cameras, etc.
http://thinkflood.com/support/redeye/software/open-source-software/motion-jpeg-image-view-ios/
122 stars 39 forks source link

Support for iOS6 Storyboard #7

Closed fatuhoku closed 11 years ago

fatuhoku commented 11 years ago

I want to use the storyboard editor in Xcode 4.6.2 to place MjpegImageView should appear. The way I did this was to drag a UIImageView onto the Storyboard, set its custom class to MotionJpegImageView and hoped that through the initWithFrame: initialiser, the MotionJpegImageView initialise with the correct size properly. However, currently it doesn't display anything.

EDIT: The above description does actually work. MotionJpegImageView will appear not to exist (no words, no labels) on your interface if there's no signal. However, once you do get signal, it works fine with Storyboard.

fatuhoku commented 11 years ago

Sorry, invalid issue. The reason it didn't work was my fault entirely. I was trying to feed a NSString into NSURL and ignored the compiler warning!