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

View Single Post
Old 08-08-2010, 06:27 PM   #4 (permalink)
baba147
Registered Member
 
Join Date: Jan 2010
Posts: 3
baba147 is on a distinguished road
Default

I have just tried it using JS. and it works:

for zoom:
[webView stringByEvaluatingJavaScriptFromString:@"document. body.style.zoom = 5.0;"];


for scroll:
int scroll=20; //Pixels to scroll
NSString* s=[[NSString alloc] initWithFormat:@"window.scrollTo(0, %i)",scroll];
[webView stringByEvaluatingJavaScriptFromString:s];

Last edited by baba147; 08-08-2010 at 06:30 PM.
baba147 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,575
Threads: 94,081
Posts: 402,751
Top Poster: BrianSlick (7,990)
Welcome to our newest member, asleylq98
Powered by vBadvanced CMPS v3.1.0

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