<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Custom video/camera overlay view on the iPhone</title>
	<atom:link href="http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/</link>
	<description>A weblog by Blackwhale about design, code and random stuff we care about.</description>
	<lastBuildDate>Thu, 29 Jul 2010 01:33:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: links for 2010-07-28 &#124; Alones world</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-1257</link>
		<dc:creator>links for 2010-07-28 &#124; Alones world</dc:creator>
		<pubDate>Thu, 29 Jul 2010 01:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-1257</guid>
		<description>[...] Custom video/camera overlay view on the iPhone &#124; Seaside (tags: UIImagePicker imagepicker picker camera iphone) [...]</description>
		<content:encoded><![CDATA[<p>[...] Custom video/camera overlay view on the iPhone | Seaside (tags: UIImagePicker imagepicker picker camera iphone) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anka_</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-1225</link>
		<dc:creator>anka_</dc:creator>
		<pubDate>Thu, 22 Jul 2010 14:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-1225</guid>
		<description>Hi, 
The UIButton is a subclass of UIControl, so you can use the method addTarget:action:forControlEvents:  &lt;a href=&quot;http://(http://developer.apple.com/iphone/library/documentation/uikit/reference/UIControl_Class/Reference/Reference.html#//apple_ref/occ/instm/UIControl/addTarget:action:forControlEvents:)&quot; target=&quot;_blank&quot;&gt;(http://developer.apple.com/iphone/library/documentation/uikit/reference/UIControl_Class/Reference/Reference.html#//apple_ref/occ/instm/UIControl/addTarget:action:forControlEvents:)&lt;/a&gt; to add any action you want. 
 
Example: 
... 
//your close action method 
- (void) close:(id)sender 
{ 
  //just close the modal view 
  [self dismissModalViewControllerAnimated:YES]; 
} 
 
... 
//create your UIButton (i call it closeButton) and add it to your overlay view 
... 
//set target action of you button 
[closeButton addTarget:self action:@selector(close:) forControlEvents:UIControlEventTouchUpInside]; 
.... 
 
After that the method &quot;close&quot; is called when you touch your close button. 
 
Cheers, 
Andreas </description>
		<content:encoded><![CDATA[<p>Hi,<br />
The UIButton is a subclass of UIControl, so you can use the method addTarget:action:forControlEvents:  <a href="http://(http://developer.apple.com/iphone/library/documentation/uikit/reference/UIControl_Class/Reference/Reference.html#//apple_ref/occ/instm/UIControl/addTarget:action:forControlEvents:)" target="_blank">(</a><a href="http://developer.apple.com/iphone/library/documentation/uikit/reference/UIControl_Class/Reference/Reference.html#//apple_ref/occ/instm/UIControl/addTarget:action:forControlEvents:" rel="nofollow">http://developer.apple.com/iphone/library/documentation/uikit/reference/UIControl_Class/Reference/Reference.html#//apple_ref/occ/instm/UIControl/addTarget:action:forControlEvents:</a>) to add any action you want. </p>
<p>Example:<br />
&#8230;<br />
//your close action method<br />
- (void) close:(id)sender<br />
{<br />
  //just close the modal view<br />
  [self dismissModalViewControllerAnimated:YES];<br />
} </p>
<p>&#8230;<br />
//create your UIButton (i call it closeButton) and add it to your overlay view<br />
&#8230;<br />
//set target action of you button<br />
[closeButton addTarget:self action:@selector(close:) forControlEvents:UIControlEventTouchUpInside];<br />
&#8230;. </p>
<p>After that the method &quot;close&quot; is called when you touch your close button. </p>
<p>Cheers,<br />
Andreas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: _feDe_</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-1224</link>
		<dc:creator>_feDe_</dc:creator>
		<pubDate>Thu, 22 Jul 2010 12:53:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-1224</guid>
		<description>So... how do you actually do something with the button, and then close the modal? </description>
		<content:encoded><![CDATA[<p>So&#8230; how do you actually do something with the button, and then close the modal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anka_</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-803</link>
		<dc:creator>anka_</dc:creator>
		<pubDate>Wed, 12 May 2010 18:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-803</guid>
		<description>Hi, 
 
sure you can. I will publish examples of this blog on github now.  
Find this example at&lt;a href=&quot;http://github.com/anka/bw_examples&quot; target=&quot;_blank&quot;&gt;http://github.com/anka/bw_examples&lt;/a&gt; . 
 
Cheers, 
Andreas </description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>sure you can. I will publish examples of this blog on github now.<br />
Find this example at<a href="http://github.com/anka/bw_examples" target="_blank">http://github.com/anka/bw_examples</a> . </p>
<p>Cheers,<br />
Andreas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abe</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-752</link>
		<dc:creator>Abe</dc:creator>
		<pubDate>Fri, 07 May 2010 23:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-752</guid>
		<description>can we pleeease have the source code... please? </description>
		<content:encoded><![CDATA[<p>can we pleeease have the source code&#8230; please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-357</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 25 Mar 2010 18:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-357</guid>
		<description>Hi there, do you have the source code for this project. I&#039;m struggling to get it to work. Would be much appreciated. 
 
Regards 
 
Andy </description>
		<content:encoded><![CDATA[<p>Hi there, do you have the source code for this project. I&#039;m struggling to get it to work. Would be much appreciated. </p>
<p>Regards </p>
<p>Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anka_</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-355</link>
		<dc:creator>anka_</dc:creator>
		<pubDate>Sat, 20 Mar 2010 00:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-355</guid>
		<description>Hi guys, 
 
So as I found out, video is only supported in full-screen mode and there is no way to show a video within a small area at the current screen. You can change the background color of the screen when the video is smaller than the whole screen, but this sadly wont be any helpful in your case.  
 
Cheers, 
Andreas </description>
		<content:encoded><![CDATA[<p>Hi guys, </p>
<p>So as I found out, video is only supported in full-screen mode and there is no way to show a video within a small area at the current screen. You can change the background color of the screen when the video is smaller than the whole screen, but this sadly wont be any helpful in your case.  </p>
<p>Cheers,<br />
Andreas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frankie</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-352</link>
		<dc:creator>Frankie</dc:creator>
		<pubDate>Wed, 17 Mar 2010 21:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-352</guid>
		<description>I would like to know if that is possible as well </description>
		<content:encoded><![CDATA[<p>I would like to know if that is possible as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TechIT</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-346</link>
		<dc:creator>TechIT</dc:creator>
		<pubDate>Fri, 19 Feb 2010 10:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-346</guid>
		<description>Hi, 
Can I overlay a video over the device&#039;s camera feed? That is, my application should start the device&#039;s camera and overlay another video (recorded earlier, or any simple movie file) onto this video, as a small window in the center. 
 
Please help me with this. </description>
		<content:encoded><![CDATA[<p>Hi,<br />
Can I overlay a video over the device&#039;s camera feed? That is, my application should start the device&#039;s camera and overlay another video (recorded earlier, or any simple movie file) onto this video, as a small window in the center. </p>
<p>Please help me with this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anka_</title>
		<link>http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/comment-page-1/#comment-339</link>
		<dc:creator>anka_</dc:creator>
		<pubDate>Sat, 30 Jan 2010 19:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blackwhale.at/?p=443#comment-339</guid>
		<description>Hi Raj, 
 
I consulted the iPhone OS Reference Library once again and found out, that it isn&#039;t possible to record videos if you are hiding the default camera controls (&quot;Hiding the default camera controls limits you to taking still pictures only, regardless of whether movie capture is available on the device&quot;). So you have to set &quot;showsCameraControls = YES&quot; to get the standard video controls. Sadly this is a weird restriction at the moment and I hope they will change this soon. 
 
Cheers, Andreas </description>
		<content:encoded><![CDATA[<p>Hi Raj, </p>
<p>I consulted the iPhone OS Reference Library once again and found out, that it isn&#039;t possible to record videos if you are hiding the default camera controls (&quot;Hiding the default camera controls limits you to taking still pictures only, regardless of whether movie capture is available on the device&quot;). So you have to set &quot;showsCameraControls = YES&quot; to get the standard video controls. Sadly this is a weird restriction at the moment and I hope they will change this soon. </p>
<p>Cheers, Andreas</p>
]]></content:encoded>
	</item>
</channel>
</rss>
