ipad

Image in different screen size.

Hi I am looking for an optimized solution to display image in different screen size. I have a image in server which I would like to display in different handled devices like iPhone, iPad ,Android based tablets or mobiles etc. Some of the solution I have thought of are Have different images in server for each screen size. Have a sin...

want to add manual erasing option in ipad painting application by quartz

Hi all i am working on a painting application using Quartz 2D for ipad. now i want to add an eraser option so that user can manually erase portion of his drawn line with touch.i have also background image.can anyone please help? ...

How to get the Template Chooser/Document Browser view on iOS?

What is the view used to create the Template Chooser view in the iWork apps on iPad? How can I create a view like that on iPad, and what would be a best way to implement it on iPhone considering screen size constraints. ...

NSCoding doesn't seem to store the frame of my UIImageView

I can't seem to get NSCoding to store the 'frame' or 'center' properties of my UIImageView subclassed object. It seems to store everything else, both custom properties and standard class properties (e.g. 'hidden', etc...), but not the 'frame' or 'center' properties. I'm NOT trying to archive a UIImage (as this does not comply with NSCo...

jqtouch/sencha touch & pdf's

Hey Guys, I need to create a PDF viewer with scrolling, zooming and swipes for the iOS family of devices... I've played around using iframes and objects and I've had no luck on making anything decent. I guess I am looking for a few pointers, clues or code snippets to get PDF's looking good on iOS devices using UIWebView. Any comment ...

offline app using UIWebview for iPad

I am trying to build an iPad app which has one UIWebview. content is in asp.net. Now one of major requirement is that my app should support offline mode. First I tried looking Html5 cache manifest but as per this SO Answer it does not work with UIWebview Then I tried searching around caching mechanism available with UIWebview, I found ...

Contents of UIPopover change to random orientation when Modal View is visible and iPad rotated

I have a uitableview within a navigation controller shown within a popover. When you press a bar button from within the popover (on a detail view), it shows a modal view. If you rotate the iPad with the popover visible and the modal view on top of that, the popover's content changes to a seemingly random orientation as shown below. Any ...

add iPhone functionality to iPad app

I have been developing an iPad app. I now want to make it work on the iPhone also. What do I do in Xcode so it can work both ways? (I am not concerned about adapting to the smaller screen -- that part I can figure out. But how do I get it to start up on the iPhone?) ...

Load different type of custom cell (iPhone)

Hi Guys I have a problem! I want to change the custom cell if mediaurl==@"string" and move the label on the left if i not load the picture... How can I do? Any issue? if I create a label from code the the method call if mediaurl==@"string" I will make a mistake. ...

iPad popover presentpopoverfrombarbuttonitem

I have added a few buttons to the right side of the navigation bar with the following: UIView* customView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 44)]; customView.backgroundColor = [UIColor clearColor]; UIButton* button = [UIButton buttonWithType:UIButtonTypeCustom]; button.frame = CGRectMake(0, 0, 45, 44); button.conten...

iPad - redrawing the arrow direction of a visible UIPopOverController

I have an object that is drawn near the first third of the screen. Imagine that there are 300 pixels between the top of the object (an image, for example) and the top of the screen. When I show a popover, lets say, with 200x200 pixels and specify arrow direction as any, the popover may appear over the object, that is, between the object...

How to broadcast file using Wifi from one Iphone to all connected iPhones

Hi all, i am transferring file from one iPad to 2 other ipad though same application developed in Iphone OS 3.2 though Wi-Fi network.The connection breaks once file is transferred and 2 way communication is not possible. pls help Thanks in Advance ...

Popover color on iPad.

I want to show the Popover in its default style (Default Blue). My Top tool bar style is Black translucent, So I need to change the Barstyle of the Rootviewcontroller to black translucent in landscape mode. How can i show the same controller in two modes with two diff styles ? ie, Want to have to default style at Portrait mode, and Blac...

Streaming of different video scenes to the iPad

Hi, as a background: I am developing an application for the iPad where users can browse videos that are provided by us. When a user picks a video it will then launch an MPMoviePlayerController - which works fine (besides I get no video for the first 10 seconds, of which I have no idea why). Now, users should be able to search for speci...

How can I fake superscript and subscript with Core Text and an Attributed String?

I'm using an NSMutableAttribtuedString in order to build a string with formatting, which I then pass to Core Text to render into a frame. The problem is, that I need to use superscript and subscript. Unless these characters are available in the font (most fonts don't support it), then setting the property kCTSuperscriptAttributeName does...

How to convert an illustrated PDF (book or magazine) into an iphone or ipad app

Hello! I'v seen many apps to convert PDF into EPUB, but I'm trying to understand what's the best way to show an illustrated book, not a text-only one, on iphone or ipad. it seems that an APP would fit best. is there a way to automatically convert a PDF into a flipping ebook app? or there are any framework that I should use? thanks! ...

convert textfile to pdf iphone or ipad ?

how to convert a text file to pdf , i achived it by 2 qurtz frame work , but it is time killing, is their any way to convert text files to pdf in ipad. thanks Kumar ...

iPhone app compatibility with iPad - Must I Support x2 Mode ?

Hi all, I have witten an iPhone game using Quartz 2d. It works fine all devices including the iPad, however when you use the "x2" magnifier on the iPad the game has major display problems. Do I have to make my game work with the x2 magnifier on the iPad - or can I somehow specify that it does not work with x2 mode ? Thanks in advance,...

GL_BLEND issue with drawing 2D sprites on iPad

Hi all, When we draw 300 sprites on the iPad using opengl 2.0 with glEnable(GL_BLEND) (which we need because the sprites need tranparency and alpha blending) we get an framerate of around 40. But when we disable the blending we get an framerate of 60. Now is (alpha) blending really that costly or are we doing something wrong? Thanks f...

Problem adapting scale factor for iPad x2 compatibility mode

Hi all, I wonder if anyone can help me with following. I have written a Quartz 2d ap and have used the following code to get the correct scale factor for each device : if ([UIScreen instancesRespondToSelector:@selector(scale)]) { return [[UIScreen mainScreen] scale]; } else { return 1.0; } I then multiply all values b...