iphone

HTML table with fixed headers and a fixed first column for the iPhone

All, I'm working on a web app that's optimized for an iPhone. On one of the pages, I'll have a table with hundreds of rows, and dozens of columns. I'd like to have it work so that the first column is fixed (remains visible) as the user scrolls to the right, and the headers are fixed as the user scrolls down (i.e., like "freeze panes" ...

How to set iPhone video output image size

Hi, I'm trying to do some image processing on iPhone. I'm using http://developer.apple.com/library/ios/#qa/qa2010/qa1702.html to capture the camera frames. I saw that I can set AVCaptureVideoDataOutput image format using setVideoSettings, but is it possible to get the images in lower resolution? If not, is the an efficient way to downs...

Display UIView's instead of Images with OpenFlow

I am using OpenFlow in my iPad application. I want to display my UIView's instead of images - to allow the user to flick through different 'detail' views? Does anyone know how to do this? ...

How can I create an offline iphone web app?

Hello, I have a mobile web application for my iPhone. My application is in general dynamic so all the files I am using are in php. How can I make this web app working offline? Can I still use the and include the index.php file there? Or there is another way for dynamic pages? Thanks in advance ...

Is there any iPhone/iPad UI toolkit such as BWToolkit for Mac apps?

Just wondering if is there any user interface toolkit for iPhone or iPad such as BWToolkit for creating nice interface for apps. Cheers ...

Adding UITextView in UIActionSheet

// I did the following code, but when keyboard press some letter, the pressed letter does not appear on the UITextView ? AnyOne have suggestion on this ? plz `** UIActionSheet *actionSheet = [[UIActionSheet alloc]initWithTitle:@"" delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:@"button1",butt...

iPhone -- [UITextField sizeToFit] does not always account for cursor

When I call sizeToFit on a UITextfield that is being edited, the size reacts in an inconsistent way to the cursor. Sometimes it accounts for it; sometimes it doesn't. If it doesn't, part of the first letter is clipped. Has anyone found a way around this? ...

High profile MonoTouch apps?

I would like some examples of high profile apps created using MonoTouch. The apps you call home about. The apps that made it to the top 25 lists in their category. Where can I find examples of such applications? This is a valid question, and should be re-opened. I need concrete examples of good applications developed using MonoTouch, i...

UINavigationController and presentModalViewController

I have a application combined with TabController and UINavigationController. When a button is pressed, I want to pop up another window with its own UINavigationController. -(void) buttonPushed: (UIBarButtonItem *) myButton { MyNavigationController *controller = [[MyNavigationController alloc] initWithNibName:@"MyNavigationControll...

update sqlite database for iphone

Consider a SQLite database for an iPhone app with some "documents" as templates. The user is able to add his own templates too. I want to update the program and the database. Is there any chance to do so without overwriting the user's data? I've considered two different databases, but since this is overhead, I want to avoid this opti...

how to create a directory/folder in app with current date as a name

i want to create a folder in our app local directories ... the file structure i want to create will look like current date year/month/date the root directory of this structure is year inside that current month inside that current date folders .. this way i hav to create the folders... any help appreciated... ...

facebook connect authentication not working?

I've tried to run my developed iPhone app on the simulator where I have integrate it using facebook authentication. It was working perfectly yesterday, I can log in, but now I tried it entering my username and password, it doesn't wants to log me in. Is there a limit on using this authentication service? PS: I tried to use my friends lo...

How to define non string constants in objective-C?

Hi guys, I can define global strings like this: // .h extern NSString * const myString; // .m NSString * const myString = @"String"; Now I need to define UIcolor similarly, How can I do it? I'm trying: // .h extern UIColor * const myColor; // .m UIColor * const myColor = [UIColor colorWithRed:1.0 green:0.0 blue:0.0 alpha:1.0]; ...

iPhone -- the input parameter to UIView's sizeThatFits method

The signature of this method is: - (CGSize)sizeThatFits:(CGSize)size I don't understand what the size parameter is used for. Apple's documentation states that it is "The current size of the receiver." But the receiver presumably knows its current size. So why does it need to be passed in? When I experimentally pass in other va...

issue with rotation and uilabels with size set using NSString's sizeWithFont...

I have a few UILabels in my view with their height set using sizeWithFont:. I set the autoreszingMask to flexible width and height, however on rotate the width changes (am assuming because self.view's width changes and its set with a width relative to self.view) but the height of it doesn't change to fit the content again. This results ...

Forum for O'Reilly books?

I'm currently doing the tutorials from O'Reilly's 3D programming for the iPhone and have come across some difficulties, mainly one in particular. I searched their website to see if they hosted any forums where people could help with the tutorials in the book, but it seems as if they are fairly select about which texts they decided to h...

Why animating custom CALayer properties causes other properties to be nil during animation?

I have a custom CALayer (say CircleLayer), containing custom properties (radius and tint). The layer renders itself in its drawInContext: method. - (void)drawInContext:(CGContextRef)ctx { NSLog(@"Drawing layer, tint is %@, radius is %@", self.tint, self.radius); CGPoint centerPoint = CGPointMake(CGRectGetWidth(self.bounds)/2, C...

Is there a way to clear the environment.specialfolder.personal folder that goes with an iPad app?

We need to clear it, but can't have physical access to the machine. There is a built in function in the app to do that, but the app craches because of errors in that folder, so we can't get to that. You help is much appreciated. ...

Free iPhone Game Programming Libraries

I have been using Cocos2d for some time now and it is AWESOME! I was wondering if there are some other libraries for creating iPhone game. Maybe also 3d game libraries!! ...

Tap once to copy UITextView text substring

Say you've got a UITextView populated with a chunk of text. When a user taps on a word within the text I want the app to copy (retrieve the string) that word immediately. In your knowledge, is there any practical way to do this? Side note: I looked at UIPasteboard and all that but it is NOT what I'm looking for as it does not offer a o...