ipad

iPad toolbar icons: bar button images not centered?

Have a look at the following screenshot fragment from an iPad app I am working on: The "chat bubble" icon on the left is from the famous Glyphish icon set. Note how it has correct vertical positioning (in the middle), but is much darker than the greyscale used for the InfoDark button. The code to make this icon is as follows: UIImage...

iPad best practice to keep backend data model

Hi, I am developing iPad application, A set of forms that user has to fill (roughly 500 text fields). The form fields are displayed in a UITable view. Once user fill the forms he/she can uploaded the data to the server. Until its uploaded, the data should be persist in a temporary location in the local disk. In my application desig...

ipad is drawing text out of canvas area

I am drawing a text in canvas. Its working fine in all other browsers but in ipad safari, its drawing text outside the canvas area and the text is flipped too. context.font = "14px Arial"; context.fillStyle = "#000000"; context.textAlign = "center"; context.fillText('text', 20, 20,300); context.stroke(); context.closePath(); ...

Monotouch custom controls, how?

I want to create a custom ui control for my monotouch application. My control consists in a view with 2 labels and 1 image. I need to re-use it more times. Can i develop a custom uiview in monotouch? is possible to use custom controls in Interface Builder? thanks. ...

How to get the scroll bar with CSS overflow on iOs

Developing an iPad website i tried to use the CSS property overflow: auto to get the scrollbars if needed in a DIV, but my device is refusing to show them even if the two fingers scroll is working. I tried with overflow: auto; and overflow: scroll; and the result is the same... i'm only testing on an iPad (on desktop browsers wor...

How to create Universal apps in iPhone/iPad?

Hi friends, I want to create a universal apps. I have already done some apps for iPhone. Now i want to start a universal apps which means the app should be runs in iPhone and iPad. I don't have any idea about that. So please guide me and give me some sample links for that. Thanks! ...

Photoscroller for iPad

Has anybody tried Apple's sample code PhotoScroller on iPad. I am getting a few errors, I guess it's due to the fact that the used libraries are iOS 4.0 only. Any help would be appreciated. Errors that I am getting: error: request for member 'contentScaleFactor' in something not a structure or union on :: imageView.contentScaleFacto...

objective-c delegates and events design (I don't get it)

Hi I'm pretty new to the objective-c language (less than three month) but is something that i really need to understand. Suppose a controller (in a iOS environment) that manage a table view for input data from the user. The table must have a editable cells and some features for make the value selection easier, for example a button that...

Receiving errors when trying to draw with UIBezierPath

Hello, I'm trying to draw some lines inside my custom UIView. From what I can see, to save messing around with CoreGraphics, I can use UIBezierPath (i've done similar with NSBezierPath on the Mac). I have some code that tries to draw the lines but I get output errors and can't find a decent reference with some sample code to illustrate ...

Does iOS OpenAL support directional sound or only positional sound?

Hello, For the 3D iPad app I am writing I want audio to increase/decrease in volume as a single virtual listener turns towards/away-from sound sources. The listener is always stationary. The listener can only rotate. The sounds are always stationary. The sounds fill a sphere of directions around the user. The sounds are all of equal dis...

disable zoom on tap

I have an image bar which slides on move. But when i single tap on that bar its shows a magnifier. How i can disable that magnifier on tap? ...

How do I Perform Integer SIMD operations on the iPad A4 Processor?

Hello, I feel the need for speed. Double for loops are killing my iPad apps performance. I need SIMD. How do I perform integer SIMD operations on the iPad A4 processor? Thanks, Doug ...

20px gap on top of landscape view in iPhone app running on iPad

I am running an "iPhone-only" app in the iPad simulator...When the orientation of the device is changed to landscape mode, I have a view controller that kicks in and programmatically loads a WebView. This works swimmingly in the iPhone (no gap on top of landscape view), but when simulating in the iPad, there's a 20px (I think?) gap at th...

IphoneOS sockets example

Hello, I am trying to get a simple sockets program working on the Ipad. To do this I am using the CFStreamCreatePairWithSocketToHost command. It works fine on the simulator. The problem is that it does not work on the iPad (I checked connectivity issues using the iPad's safari, and everything seems fine). What I want to do is have the ...

UIKeyboard extra keys.

I am looking for a way to add extra keys to a UITextView's keyboard or add a UIToolbar above it. How might I go about this? EDIT This is for an iPad app and if I was to add extra keys I would need a new row for them in the UIKeyboard. ...

Is it possible to change a bar button background image while we click on it?

I have a barbuttonitem which i have customised using a custom button with an image. I want to change this image everytime after I click it. Like on and off. Once I click it it will show OFF image. Then again it will go ON image. Is it possible? ...

Cell not loaded when the application (iPad) is loaded in landscape mode!

Hi at all! Hi have a problem! In my iPad project (splitview) i can store all elements in a the cell when i press on the popover button. If I put my ipad in landscape mode all cell are loaded in the root view controller. But if I start the project in landscape mode anything was loaded... i must turn in portrait mode, press popover button,...

Picup App VS. cliqcliq Quickpic

Weekend research has shown me that, in mobile Safari, my best chances for the upload of an image file from the iOS photo library are through cliqcliq's Quickpic app or PicUp for iPhone. Are there any other choices that are more seamless or better than both of these apps? *This project i'm developing will use iPads for this task. ...

How to create iPad Application in cocos2d

Hi, I am new to iphone game development, i have recently install cocoas2d. But the problem i whenever i search it always result in iPhone game tutorials. I want my game to use iPad screen resolution. Thanks Inam ...

iPhone App crashes on iPad (only)

Hi! I am making an app where the user gets daily book recommendations from an online database. This all works just fine on iPhone and iPod Touch, but crashes (SIGABRT) on iPad on launch (default.png is shown first). The error that is traced in the console is "Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NS...