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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-26-2008, 12:33 AM   #7 (permalink)
MaCeXpErTo
Senior Member
 
MaCeXpErTo's Avatar
 
Join Date: Jul 2008
Posts: 149
Default

Quote:
Originally Posted by bonehead View Post
I'm embedding a UIWebView within one of my view controllers, and I'd like to prevent the view from "bouncing" every time the user taps on it. (The UIWebView behaves much like a UIScrollView with bounces turned on.) The frame I've provided for the UIWebView is big enough to fit its entire contents easily.

Does anyone know a way to lock down the UIWebView so it doesn't try to scroll like this?
I think all you have to do is use a boolean value that controls whether the view bounces past the edge of content and back again.

I would use: @property(nonatomic) BOOL bounces

If the value is NO, scrolling stops immediately at the content boundary without bouncing.

I don't know if this is correct or not but I hope it helps.
MaCeXpErTo is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,823
Threads: 89,206
Posts: 380,635
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jimmie6loa
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:33 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.