LE SANG
LE SANG

Reputation: 11005

How to make image resizable in UIWebView?

I try to find an API for resize image by drag like resizable in jQueryUI in iOS. The command $("img").resizable(); only work with mouse gestures on desktop.

Please guide me how to make? This is my code load to UIWebView

Thank in advance!

Upvotes: 0

Views: 94

Answers (1)

thecodejack
thecodejack

Reputation: 13379

There are lot of libraries which convert touch events to mouse events for which we have binded functions. But i used touch-punch and it met my needs. Even if you need resize or drag.

EDIT: BTW for resize you may need to increase the size of handles through CSS.

Upvotes: 4

Related Questions