Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-11-2011, 10:41 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 7
lestro is on a distinguished road
Default Paging combined with modal view

Hello, everyone

My app presents its contents very much like the Apple Weather app: scrollview with paging enabled. Everything works well there.

However, I also have a settings button on each page that presents a modal view (again, just like the info button of the Weather app). I used Apple's sample app, PageControl, to set all of this up.

Here is the problem: when I touch the settings button, the settings page appears, but the page control dots are still visible, and scrolling is still enabled, which interferes with the buttons on the settings page. This is not how the Weather app is set up (page control dots disappear when info button is touched).

How do I modify the sample app's code to get this result?

Thank you in advance for your help,

lestro
lestro is offline   Reply With Quote
Old 01-11-2011, 02:23 PM   #2 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,983
smithdale87 is on a distinguished road
Send a message via AIM to smithdale87
Default

I'm assuming that your settings page is not full screen then?: regardless, try setting userInteractionEnabled = NO on your scrollview whenever you show the settings page
smithdale87 is offline   Reply With Quote
Old 01-11-2011, 10:50 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 7
lestro is on a distinguished road
Default

Thanks for your help, smithdale87. Actually, the settings page is full screen.

I like your idea about the userInteraction, but the scrollview's controller is a parent of the main view. I have tried to set up a protocol in the scrollview controller and use that from my main view, but it has not worked. Any advice?
lestro is offline   Reply With Quote
Reply

Bookmarks

Tags
modal, pagecontrol, paging, uiscrollview, view

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 363
9 members and 354 guests
7twenty7, blueorb, iAppDeveloper, iGamesDev, Mah6447, Morrisone, mottdog, sacha1996, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:35 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0