Anyone know of open source code for doing a previe

2019-08-29 05:46发布

问题:

Does anyone know of any open source code for doing a preview of an image? I have an image stored in the Documents folder of my application and would like to show a preview of the image in a modal popup by passing in a URL to the local file. I am looking for some open source code either in MonoTouch or Objective C that provides a preview that has zooming and panning functionality. I would prefer not to reinvent the wheel if there is already open source code that does this... what can I say, I am inherently lazy... hehe ;)

My preference goes to C# code, as my application is coded in C#, but if there is a good Objective C solution for this then I will port it to MonoTouch and make my source available here.

回答1:

Checkout TTPhotoViewController:
http://joehewitt.com/post/the-three20-project/