ipad

UINavigationController not popping UINavigationBar items on iPad

I'm having a very strange problem with the UINavigationController. I found a very similar question here: http://stackoverflow.com/questions/1542040/uinavigationcontroller-not-popping-uinavigationbar-items but the solution there had to do with the fact that the guy had added a category to NSMutableArray, and I'm not doing anything like t...

AQGridView: Making a Selection

I am using AQGridView to build an iPad app that incorporates a flexible grid like that found in the Apple iBooks app or the Marvel and DC Comics apps. My question is has anyone used AQGridView and can help me with sheding some light on how to make a grid cell selection. It supposedly just makes a sub-class of UITableView but I can't seem...

Possible to access hardware, perhaps via extension, from Safari on iOS

We've got a scenario where we need to interact with some hardware from a web page -- think ActiveX. In this instance we want to read/write to a specific model of bar code reader. Is this currently possible on iOS? We're targeting iPad (despite neither of us having previously developed for Apple products...) but it would be nice to have ...

Help with in-App Purchase timeout

Hello, I've designed my In-App purchase to work perfectly thanks to the well-written in-App Purchase Programming Guide. Unfortunately, I have run into one last snag. My app runs entirely offline except for this one purchase - so I'm hoping there's a simple solution without having to implement tons of net code. Basically, if I try to ...

make a key board transperent in ipad

I added code like given below. textfieldName.keyboardAppearance = UIKeyboardAppearanceAlert; Its working fine in iphone but it is not working in ipad. please help me. Thanx in advanced. ...

Is there a safe way to find the display size in pixels in universal app?

I get some strange problems when trying to get the screen size in my universal iPhone/iPad app. I was first using [[UIScreen mainScreen] bounds] But it does not return the correct size for iPhone 4 (at least not in the simulator), it just returns 320x480 for all iPhones Then I changed to CGSize screenSize = mainscr.currentMode.si...

UIModalPresentationFullScreen clear background color

Hi, I present a modalView using UIModalPresentationFormSheet, when I use self.view.backgroundColor = [[UIColor clearColor]; everything is working fine. My problem is when I use a UIModalPresentationFullScreen, the color don't want to be clear, even an alpha on the view is not working. Soemone have an idea? ...

tutorial to create e-book read application - epub file formate

hi all, I am making an application of e book reading, in that i want to perform some operations like change text color, font, select a text etc. I come to know that iphone os 4.0 and ipad are now supporting epub file formate, but I am not able to know how to create such kind of application. If any one knows how to create such applicati...

Cache UIView on drive?!

Hi, does anyone know if it's possible to cache the entire UIView on a drive not in memory so you don't have to regenerate the entire content everytime you want to access it ... Right now I am preloading three pages on both sides in scroll view but it would be nice to pregenerate the entire edition in background and store it in documents ...

what are some ways you could use Core Animation to create a curl or peel animation?

I'm trying to figure out how I could create a curl or peel effect on an image in my iPad app using Core Animation, but as I'm learning the API, I only understand different ways to move, scale, and rotate the 2D image (including the 3D transformations). I'd like to accomplish this effect on small, individual layers (i.e. sprites) that ha...

UIWebView on iPad size

Hi, I am using the UIWebView on iPad, which I initialize by the code below. The problem is that the view is never displayed on the top of the page just under the Status bar, but there is another 44px space (filled with black color) - for Navigation Bar, which I do not want to display. Any hints how I can make the UIWebView be displayed ...

Box position after webkit-transform rotation

Does anyone know how to get the displayed top left hand corner of a rotated box after using a rotation with webkit-transform? So, for example, I draw a box ask for the top left corner, rotate the box 270 degrees for example, then how to I query for the position of the "new" top left corner, which in this case is effectively the original...

If you could buy two books..

Addition: Think its worth having a look at this again as a number of new books havve/are being released with updates to iOS4 and the inclusion of iPad programming. Ok, I have read a number of posts regarding iPhone dev books, Cocoa and Objective-c. The general consensus seems to lead to one of 4 books. Kochans Objective-C book. Hill...

If you make your iPhone app universal, can you undo it in a future version?

Question title says it all. I've made a universal iPhone/iPad app (transitioned from iPhone only), but in a future version, I'm going to switch heavily to iOS 4-only features. For the next update of my app, can I update only the iPhone version? ...

NSNotificationCenter selector not being called

Hi, In my iPad app, in one class I register for a notification: NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc addObserver:self selector:@selector(selectedList:) name:@"TTSelectedList" object:nil]; My selectedList: method looks like this: - (void)selectedList:(NSNotification*)notification { NSLog(@"rece...

UITableView reloadData duplicates data

I have 3 UITableViews on a UIView in which I load 3 different sets of data from NSMutableArrays. If I call [myTableView reloadData] the data kind of reloads - it actually gets added to the table along with what ever is already there. So 3 calls to reloadData results in triple listed information. How do I prevent this from happening or...

iPhone/iPad keyboard shortcuts?

There's an action in my program which users need to perform very frequently (potentially hundreds of times per session), and I'd like to add a keyboard shortcut for users with a bluetooth keyboard. Is there any way to do this? Right now, the closest I've come is triggering the action whenever the U+F8FF character is entered (shift+alt+k...

Question on how to add a UIview as a subview to a UITableCell

Hello users, I've got a question on how to add a UIView to a UITableViewCell. In my learning Project I've got a UITableViewController (TableTestViewController, a UITabelViewCell.xib (MainTabelCell.xib) and a UIView (InnerTableView). My Goal ist to show the MainTableCell in the UITableView and in this MainTabelCell the InnerTabelView bu...

How is the text adjusting inside the label when we increase the fontSize?

In some of the applications, I have seen that we have an option to increase or decrease the fontSize of the text inside the label. But when we adjust it, the label automatically increases its height to contain it. How do we get the height of the label everytime we increase or decrease the fontsize? And in some cases like news applicatio...

How to send MIDI or OSC signals to a Mac application from my iOS application?

I'm thinking of writing an iPhone/iPad application to emulate a MIDI controller. I know there are already quite a few available but I still want to do my own. I have several questions about that: I know a little bit about MIDI, but I've recently heard about OSC. Obviously MIDI is supported by almost all DJ software applications, but do...