Zoom support while page curling effect present in pdf reader app - iphone

Hi
I am developing an ipad Magazine app where I need to display pdf files.I am using leaves project for page curl effect.This works great.
But in landscape page fits to height(768px) and it becomes difficult to read the font.
Thats why I want to support zoom in/out on this view.
I am a newbie to Core Graphics.I think in leaves project they parse pdf to show image of each page.But I dont know why zoom is not supported if it is an image.
There are some more branches of leaves project for implementing this feature but all of them are not perfect.
Shall I continue using leaves or UIViewAnimationTransitionCurlUp/Down will help me for both the problems?
Thanks

here is the code for your requirement. check out this

You can refer this tutorial. Provided by APPLE
Hope it helps.

Related

How to create an image app for iphone?

I was wondering how to go about creating an image app for the iphone. I know how to create an iphone app. I was just wondering what the best way to make an image app is. I want the user to be able to import an image, and then the app will add an effect to it like blur it or tint it or warp it. How can I do this? I've been searching forever. Please help.
I encourgae you to look into a few image processing libraries for iOS that are out there. A search on Google will return a few options..
Here's one > http://mobileorchard.com/a-simple-iphone-image-processing-library/
You should also look into the sample code provided by Apple on GLImageProcessing > http://developer.apple.com/library/ios/#samplecode/GLImageProcessing/Introduction/Intro.html
Regarding importing pictures into your app; there are several examples out there on how to do so through the UIIMagePickerController. Here's one >
http://maniacdev.com/2010/02/uiimagepickercontroller-using-the-camera/

iPhone App Tutorial/Help Screen UI

What is the best way to create tutorial or help screens that can be viewed in an iPhone App on launch?
I'm debating between using two paradigms:
Edit a screenshot of the app with an image editing program to add static help text. Interaction is tapping or scrolling through the tips. This involves creating a custom UIViewController to advance to the next help screen.
Create a custom iPhone UIControl on top of the App user interface that can be tapped to advance to the next tutorial tip. The application will transition between the modes and will be active, rather than static. It involves adding hooks into the App's custom ViewController's to handle "TutorialUIControl" objects.
Here's some screenshots of the application that I need to make help screen UI for, it's an application that creates artwork. More App Information
Screenshot 1: View mode that allows viewers to scroll through an image list, like the UIImagePicker, but for custom image collections.
Screenshot 2: Action mode - allows viewers to select images to save to the "My Saved" album from the active art generation album "My Evolution" or evolve images using sexual/asexual image reproduction.
The "right" answer really depends on the application you are designing. I would highly suggest getting as many apps as you can and looking at how they do help. See what works and what doesn't and think about how that is related to your own design.
In my app (a game) I chose to build a set of static images that could be scrolled through to provide detailed help (based on Apple's sample code). But, I also built an interactive tutorial that plays the first time you run the game. I also pop up a welcome overlay the first time the app is run and suggest what button to press to start a game.
It also helps if you test your tutorial with a lot of different people. After several designs with things too complex, I boiled down my instructions to something extremely simple: "Press the green buttons", and then built up from there.
You can easily store a preference to say whether the app has been launched before, and if that entry is blank you run the tutorial again.
You can create an HTML tutorial that you view through a UIWebView. In on of my iPad apps, I just made a large image that I presented modally with images and text explaining how to use the app.
For iPhone, the best way to include a "How-To" tutorial for your app would have to be a web document, seeing as how you can add images and formatted text.
Alternatively, You can add more views to your controllers with transparent backgrounds and animated buttons and text, for a more interactive feel.
To answer my own questions many months later.
I revamped and used WEPopover to show my help popups, as seen in the iPhone/iPad App, Wallpaper Evolution Lite. The help disappears only if tapped or the button it was attached to was pressed. Using this flow I could highlight a series of buttons to the user.
I added help images within the application to highlight interaction behaviors with the content. The tap, zoom, and drag images are fully interactive.
As #WrightsCS mentioned HTML is another avenue. I use the UIWebView to provide a more in depth help/tips screen with contact information.
In my upcoming app, I'm making use of a paging UIScrollView with help content highlighting app features. The help screen is loaded on the first start of the app, and is accessible through a help menu option.
Here's my fork of the WEPopover github project: https://github.com/PaulSolt/WEPopover

image scrolling on touches in iphone

iam developing an app in which, images are to be scrolled on touchesmove i.e, swipping left /right.
I also have to display previous and next images beside present image in protrait mode.
I have seen the covertFlow sample, which is very close to my app, but i want it in horizontal mode. Please suggest me how can i acheive it , links related to it can also be helpful for me..
thanks in advance.
Well how about taking the open source CoverFlow implementation and modify it to work in portrait mode?
You can get sample code in this tapku Library
I solved my query and it is working without using any libraries.
I used the concept of lazyloading to download images, and i placed the images in scrollview which helps to scroll the images.
The following link used to load images asynchronously.
http://www.markj.net/iphone-asynchronous-table-image/

IPhone phonegap pdf issue

I have a strange issue in phonegap framework. I want to display PDF file in my application, when I am trying to add PDF file with iFrame tag it doesn't show a PDF with horizontal scroll and with a big zoom size. so getting out of screen.
I tried by another way using embed tag, its also having same problem with addition to that its showing PDF for only first time in the application.
If anybody know how to display a PDF in phonegap with specified zoom level or with scroll bar. Above code is working fine in iPhone mobile safari, but not in phonegap. Any Idea?
Thanks.
To display pdf in phonegap,
have lots of trouble,
but best solution so far,is to used ChildBrowser Plugin for phonegap here is the link-
https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser
this will help you to call child native uiwebview in your application(only for iphone),
so you can easily enjoy pinch zoom feature
Using Phonegap you'll have only one UIWebView so probably the best idea is to open the pdf as a new object link using rel=external
Other suggestion is look at the view-port size, maybe you'll have to increase it's size to allow the pinch and zoom.

Grid View as demoed in iPad

I'm trying to develop a grid-like application for the iPad. Has anyone seen a control that displays info in a grid? In the demos they use a grid-like layout in both the iBooks store and the pictures application.
Specifically in pictures, they are displaying a dynamic list of data in a grid.
I can work around it, of course, but I'd rather use a control if one exists. Thanks!
DTGridView:
http://www.danieltull.co.uk/blog/2009/10/28/dtgridview/
You should try AQGridView it does what you need.
Here are few screens of apps that use this library:
The people who know what controls are or or not in the 3.2 iPhone dev tools have all committed to Apple NDA so we can't tell you.
Steve is always watching.
If you have signed the NDA you should go to the Apple boards and ask.
You can however, make a gird like display very simply with the standard UITableview. Just have a tableviewcell subclass that displays columns. It took me about an hour to reproduce the photo picker display using that method.
Nope, you will have to create your own. People have been writing Home Screen compatible views though, so you might want to search for open source projects with that functionality.