<?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: UIPageControl + UIScrollView</title>
	<atom:link href="http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 00:50:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Tim</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-1052</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 14 Nov 2011 17:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-1052</guid>
		<description>How do I make the images bigger</description>
		<content:encoded><![CDATA[<p>How do I make the images bigger</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-1024</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 10 Nov 2011 17:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-1024</guid>
		<description>Make sure you use addTarget for touchUpInside to the button.</description>
		<content:encoded><![CDATA[<p>Make sure you use addTarget for touchUpInside to the button.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-1015</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sun, 06 Nov 2011 15:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-1015</guid>
		<description>Hi David... 
I&#039;ve been trying to implement your solution to to make each image clickable, using UIButton instead of UIImageView, but have hit a wall. I can&#039;t seem to get each image to click through to a new viewcontroller. Any hints on how you would do this? would be much appreciated!

Thanks,</description>
		<content:encoded><![CDATA[<p>Hi David&#8230;<br />
I&#8217;ve been trying to implement your solution to to make each image clickable, using UIButton instead of UIImageView, but have hit a wall. I can&#8217;t seem to get each image to click through to a new viewcontroller. Any hints on how you would do this? would be much appreciated!</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-961</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 18 Sep 2011 09:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-961</guid>
		<description>On the iPad we handle rotation using

&lt;pre&gt;
- (void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)_toInterfaceOrientation
                                         duration:(NSTimeInterval)_duration

&lt;/pre&gt;

It&#039;s probably the same on the iPhone.</description>
		<content:encoded><![CDATA[<p>On the iPad we handle rotation using</p>
<pre>
- (void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)_toInterfaceOrientation
                                         duration:(NSTimeInterval)_duration
</pre>
<p>It&#8217;s probably the same on the iPhone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-956</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 09 Sep 2011 07:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-956</guid>
		<description>Thanks a lot David. This is an awesome tutorial. I&#039;ve been looking everywhere for a good example of page control and yours is the best!
I have a question though. Is it possible to add some code so that when the orientation changes from vertical to horizontal, the images with the view rotate and the scroll view resizes so that the scrolling action is horizontal? It would be very much appreciated if you can help me out with this.

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Thanks a lot David. This is an awesome tutorial. I&#8217;ve been looking everywhere for a good example of page control and yours is the best!<br />
I have a question though. Is it possible to add some code so that when the orientation changes from vertical to horizontal, the images with the view rotate and the scroll view resizes so that the scrolling action is horizontal? It would be very much appreciated if you can help me out with this.</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-955</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Thu, 08 Sep 2011 05:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-955</guid>
		<description>Hi ..David,

     Thanks for such an Excellent &amp; easy tutorial then any others !!! Superlike 

Now the thing I am looking to implement in my application following your example is : (CustomContoller ) 

- (void)setupPage;

I want to have several small views just like cubes/ Sudoko ... in each View of Scrollview rather than ImageView &amp; giving event to each small view.I view will have around 20views in each Page of ScrollView.How can I implement this things by creating my own Protocols, defining datasource &amp; delegate methods.

Structrure would be like this:

--&gt;UISrollView
	--&gt;View1
		--&gt;around 20 smallViews with each having events so that user can move to next view to show detail explanation.
	--&gt;View1
		--&gt;around 20 smallViews with each having events so that user can move to next view to show detail explanation.

	--&gt;View1
		--&gt;around 20 smallViews with each having events so that user can move to next view to show detail explanation.

	…n number of Views.

Although I am sure to do this thing in my own way, but that is like scratch method, &amp; called very poor programming.But I want to do this in smarter way,so that I can use the same thing in other classes to , that would reduce my coding &amp; making good impression to my Client ;)

Additionally, I know there I would have to take care of memory management!!!

Please provide me some guide or code to perform this.

Thanks,</description>
		<content:encoded><![CDATA[<p>Hi ..David,</p>
<p>     Thanks for such an Excellent &amp; easy tutorial then any others !!! Superlike </p>
<p>Now the thing I am looking to implement in my application following your example is : (CustomContoller ) </p>
<p>- (void)setupPage;</p>
<p>I want to have several small views just like cubes/ Sudoko &#8230; in each View of Scrollview rather than ImageView &amp; giving event to each small view.I view will have around 20views in each Page of ScrollView.How can I implement this things by creating my own Protocols, defining datasource &amp; delegate methods.</p>
<p>Structrure would be like this:</p>
<p>&#8211;&gt;UISrollView<br />
	&#8211;&gt;View1<br />
		&#8211;&gt;around 20 smallViews with each having events so that user can move to next view to show detail explanation.<br />
	&#8211;&gt;View1<br />
		&#8211;&gt;around 20 smallViews with each having events so that user can move to next view to show detail explanation.</p>
<p>	&#8211;&gt;View1<br />
		&#8211;&gt;around 20 smallViews with each having events so that user can move to next view to show detail explanation.</p>
<p>	…n number of Views.</p>
<p>Although I am sure to do this thing in my own way, but that is like scratch method, &amp; called very poor programming.But I want to do this in smarter way,so that I can use the same thing in other classes to , that would reduce my coding &amp; making good impression to my Client <img src='http://code.davidjanes.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Additionally, I know there I would have to take care of memory management!!!</p>
<p>Please provide me some guide or code to perform this.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-954</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 06 Sep 2011 08:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-954</guid>
		<description>Try replacing the UIImageView with something like:

UIButton* button = [UIButton buttonWithType:UIButtonTypeCustom];
[button setBackgroundImage:image forState:UIControlStateNormal];
button.contentMode = UIViewContentModeScaleAspectFill;
[button addTarget:self action:@selector(onClick:) forControlEvents:UIControlEventTouchUpInside];</description>
		<content:encoded><![CDATA[<p>Try replacing the UIImageView with something like:</p>
<p>UIButton* button = [UIButton buttonWithType:UIButtonTypeCustom];<br />
[button setBackgroundImage:image forState:UIControlStateNormal];<br />
button.contentMode = UIViewContentModeScaleAspectFill;<br />
[button addTarget:self action:@selector(onClick:) forControlEvents:UIControlEventTouchUpInside];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-953</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 06 Sep 2011 03:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-953</guid>
		<description>Hi there,
I must say this is the best bit of code for a UIScrollview I have seen :) Than\k You.
Im just wondering is there away to make each image clickable and go to another nib for example?
I am a newbie so please excuse me if Im asking a dumb question :)</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
I must say this is the best bit of code for a UIScrollview I have seen <img src='http://code.davidjanes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Than\k You.<br />
Im just wondering is there away to make each image clickable and go to another nib for example?<br />
I am a newbie so please excuse me if Im asking a dumb question <img src='http://code.davidjanes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-876</link>
		<dc:creator>Alberto</dc:creator>
		<pubDate>Sun, 27 Mar 2011 14:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-876</guid>
		<description>Hi! Many many thanks for this sample project, you really saved me :)
But i have a little question....
I&#039;m using your code to create a tutorial, but there are 14 pages of images, and if i translate them all i must add too many images.. 14 for each language :\
So here comes my question: i decided to create only 14 images and to add labels with text (easily localizable).
But when i add a label as a subview on the scroll with:  

 if ( pageControl.currentPage == 3) {
        [scrollView addSubview:mySubView];
    }
and so on for others page.. But it &quot;sticks&quot; the subview only on the first page... How can I make it load on the page number 3 only? Thanks in advance :)</description>
		<content:encoded><![CDATA[<p>Hi! Many many thanks for this sample project, you really saved me <img src='http://code.davidjanes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
But i have a little question&#8230;.<br />
I&#8217;m using your code to create a tutorial, but there are 14 pages of images, and if i translate them all i must add too many images.. 14 for each language :\<br />
So here comes my question: i decided to create only 14 images and to add labels with text (easily localizable).<br />
But when i add a label as a subview on the scroll with:  </p>
<p> if ( pageControl.currentPage == 3) {<br />
        [scrollView addSubview:mySubView];<br />
    }<br />
and so on for others page.. But it &#8220;sticks&#8221; the subview only on the first page&#8230; How can I make it load on the page number 3 only? Thanks in advance <img src='http://code.davidjanes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://code.davidjanes.com/blog/2009/09/26/uipagecontrol-uiscrollview/#comment-871</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 21 Mar 2011 22:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://code.davidjanes.com/blog/?p=578#comment-871</guid>
		<description>When I&#039;m doing text, I general use the UIWebView control - I&#039;ve actually done this with this code, and I&#039;m pretty sure it&#039;s just a straight substitution.</description>
		<content:encoded><![CDATA[<p>When I&#8217;m doing text, I general use the UIWebView control &#8211; I&#8217;ve actually done this with this code, and I&#8217;m pretty sure it&#8217;s just a straight substitution.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

