iphone

UIImageView inside UITableViewCell does not get updated

Hi I am creating a custom UITableViewCell to include an image and some related text. I am getting the images from the Internet and while the images load, I display a temporary image. I am using a separate thread to get the images. Once an image is downloaded, I am firing a method on the main thread to set the image in the UIImageView (...

UIViewController rotate methods

What object is responsible for dipatching the UIViewController rotation method calls, i.e: – shouldAutorotateToInterfaceOrientation: – willRotateToInterfaceOrientation:duration: – willAnimateFirstHalfOfRotationToInterfaceOrientation:duration: – willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration: – didRotateFromInterfaceOri...

Back button not rendering

I have an overlay that I want to slide in my cocoa-touch application. I have created the view controller for it and the corresponding nib. The nib just has a View with a text field in it. I move to the view using: [[self navigationController] pushViewController:[[[AddPlayerViewController alloc] initWithNibName:@"AddPlayerViewController...

Need help with animation on iPhone

I'm working on an animated clock application for the iPhone, and I have to pivot all the 3 nodes in the view, which I have obtained in the following code: [CATransaction begin]; [CATransaction setValue:(id)kCFBooleanTrue forKey:kCATransactionDisableActions]; clockarm.layer.anchorPoint = CGPointMake(0.0, 0.0); [CATransaction commit]; [...

UITabBarController and rotation

Hi, I'm having a real issue with UITabBarController. The outcome I'm after is the following: 1) in portrait mode, a simple tab bar based application (with navigation bars) nothing too fancy. 2) in landscape mode, I want to use my own UIViewController ignoring the UITabBar completely. The approach (I tried many variants) I tried last wh...

Macbook Air for iPhone Development?

Any issues with using a first gen Macbook Air for iPhone development? Can get a refurb for less than a new white Mackbook so was wondering if it would be sufficient. Just for light dev use and general other use. Also like to dual boot to XP or Win7 for light .NET dev and testing. Specs: 1.6GHz Intel Core 2 Duo 13.3-inch glossy widescre...

How do I manage building a Lite vs Paid version of an iPhone app?

Hi there; I'm starting to get to the point where I want to consider building a lite version of my iPhone app. I've found a few things on the web that talk about the process a bit, namely: http://developer.apple.com/tools/XCode/XCodeprojects.html http://www.pacificspirit.com/blog/2009/01/27/building_for_multiple_iphone_targets_in_xcode...

Is it possible to observe a readonly property of an object in Cocoa Touch?

I've attempted to observe the (readonly) visibileViewController property of a UINavigationController with no success. I was able to successfully observe a readwrite property I defined myself for testing purposes on another class. Is it possible to observer readonly attributes? ...

Iphone: TabView + TableView

I think I'm missing something simple, but I can't figure out exactly what it is. I'm trying to set up an App with a UITabViewController, and one of the Tabs will have a UITableView and UISearchBar (but no Navigation Controller). I set up the UITabViewController with all the tabs in interface builder, and the views are in their own xib ...

iPhone: Positioning to a point on an image from any scale (transform) level

Hello, I have a simple UIImageView with an image that is larger then the display (600x1400). The image starts with Fit to Aspect, so the bounds of the UIImgageView report 320x750, still larger then the display, but that's OK. I know of a point (300, 150) relative to the original dimensions of image (600x1400) that I want to scale and ...

How do I put files into the Documents folder in xcode for iPhone development?

I would like to put some sample images in the applications Documents directory. Can I put these somewhere in my xcode project or do I have to programmatically add them to the Documents folder from the project resources? Users will be able to add their own images (which will be written to the Documents folder) and I would prefer not to a...

Customizing UIAlertView

Anyone have code to make this: http://booleanmagic.com/uploads/UIAlertViewHack.png or better yet, a 3x2 grid of buttons with images using the UIAlertView object. I dont care about the textfield, its the buttons in a grid i want (preferably with images rather than text) ...

Filling width in (iPhone) UIWebView landscape orientation?

I'm using a UIWebView with text in it. When the iPhone is rotated to landscape, text doesn't fill the now wider UIWebView width. I'm using P (paragraph) tags, which should not affect content filling landscape's width. The line breaks that are visible in portrait remain the same in landscape. In Interface Builder, I haven't changed an...

Integrate Google Maps API into an iPhone app

Update: iPhone SDk 3.0 now addresses the question here, however the NDA prevents any in depth discussion. Log in to the iPhone Dev Center if you need more info. Ok, I have to admit I'm a little lost here. I am fairly comfortable with Cocoa, but am having trouble picking up the bit of javascript needed to solve this problem. I am try...

cross compiling c++ to iphone arm

I've scanned over the (outdated) article that is the first hit on google about ARM cross-compiling. I've also seen the article about compiling OpenCV to the iPhone and the general cross compiling instructions there. My question is can I call the apparently already configured gcc/g++ in the iPhone developer package (which I already have i...

Add subview to UINavigation

hi any one help me how to add a uiview as subview to navigationbar ...

XCode: permanently ignoring warnings

I have a project that compiles with some warnings. It's an iPhone project that uses some methods on NSDate, that are seemingly not the headers of the iPhone SDK, but work flawlessly none the less. When I call these methods I get warnings like: So how do I silence the warnings permanently, in order to tell XCode "it's OK, really." O...

iphone OS Version Appstore Deployment

Hi There, My question is related to the iphone appstore deployment handles deployment for when different versions of the iphone request the application. Also, does one have to submit a build for each version i.e 2.0,2.1 and 2.2. I've developed for Windows mobile and redirected users to a certain url based on the windows mobile platform t...

Loading new web page in an existing UIWebView

hai any one help, am developing an i-phone application. In that i have face one functional module obstacles that i am in need to load more than one web link in a particular UIWebView as similar to i-frame concept in web page is it possible.... ...

Is there any way to send a mail from within my iPhone application?

I want to send an email from within my iPhone application, primarily because i don't want to quit my application. Is there ANY way to do that? Solution: 1) I found this open source API which does that: http://code.google.com/p/skpsmtpmessage/ Anyone can write their own smtp client for this purpose. (If you can invest that much time -...