iphone-sdk-3.2

Receive message "A signed resource has been added, modified, or deleted" when trying to debug an App on iPhone.

While attempting to debug a build created using the 3.2 SDK on an iPhone device I receive the message "A signed resource has been added, modified, or deleted.". I can clean, rebuild, then install with no error, but if I try to install without cleaning the error shows. Anyone have an idea as to what might be causing this? ...

Is there a specific Xcode compiler flag that gets set when compiling for iPad?

Is there a specific Xcode compiler flag that gets set when compiling for iPad? I want to conditionally compile iPad vs iPhone/iPod Touch code for example: #ifdef TARGET_IPAD code for iPad #else code for iPhone #endif I know there is already TARGET_OS_IPHONE and TARGET_CPU_ARM in TargetConditionals.h but anything that easily and...

iPhone Debugging Error launching remote program: failed to get the task for process 907.

Created an app for adhoc distribution and installed on iphone but it is not working on the installed iphone,Tried connecting the iphone to mac and debug the app but it throws up error stating " Error launching remote program: failed to get the task for process 907." is there a way to debug the adhoc distribution provision file from xc...

VoIP over 3G on iPhone, what's changed in the SDK??

Hi, I've been looking at the SDK3.2 to find out about the new capacity to direct call over IP on 3G network, but I don't see anything obvious in the API diffs. Is this just something Apple allows on a low level private framework or does it reflect on the public frameworks as well? if so, which framework, class, method? thanks for you h...

Can't use IBActon for button on after installing iPhone SDK 3.2

I have no idea what happened after installing this update ... I can't do this most simple thing which I've been using for a long time. Does anyone have the same problem as I do? ...

Does the UISplitViewController have to be the root controller of an iPad app?

Hey friends, According to Apple's documentation on the UISplitViewController (in the new iPad 3.2 SDK) it looks like they intend for you to use it only as a root controller of an app. In other words...it seams like you cannot push a UISplitViewController onto a UINavigationController because obviously the UINavigationController would n...

Load PDF into UIImage or UIImageView?

Hi everybody! This is my first ever question on stackoverflow. I'm trying to load a PDF file stored in Resources into a UIImage/UIImageView object in the iPhone SDK. Is this at all possible without converting the PDF to an image? If not, what are the member functions for converting a PDF into a PNG? I would really prefer to preserve the...

Cocoa Touch text view with aligned, justified text

I am trying to create a textview with predefined height that will contain justified text. When entering the text into the view, I need to be able to check when the view is full. How would I do this? Core Text? I am using sdk-3.2. ...

Adding view to UIScrollView and toggling scrolling/interacting

Hi all! I have a UIScrollView in my project. I have a view controller I would like to add as a child of the UIScrollview. Would I just do that like this: [scrollView addSubview:theViewController.view]; or is there a better way? (theView is a view, not the TV show) Furthermore, I would like to be able to use a UIButton in scrollView'...

UISplitViewController in a TabBar ( UITabBarController )?

Hi all, I am in kind of situation that I need to start with a tab based application and in that I need a split view for one or more tabs. But it seems that split view controller object can not be added to the tabbarController. (Although tabbar object can be added to the splitviewcontroller). The problem can be seen otherways: I have a ...

Change table view ( tableview style grouped ) background color ?

Hi all, I am developing an iPad application in which I need a table view ( style grouped ) having background color as clearColor. My problem is [self.tableView setBackgroundColor:[UIColor clearColor]]; works well if the table view style is plain but when I switch to group table view the background color does not changes it stays gr...

Hope to remove armv6 architecture for iPad in XCode?

When building an iPad only application I get the following warning: "warning: building for deployment target '3.2' should omit the armv6 architecture." I would like to edit the Architectures setting so it only shows armv7. However, the options are coming from the following marco $(ARCHS_UNIVERSAL_IPHONE_OS). Is there a macro I should...

iPhone development: what will [[UIDevice currentDevice] model] return for "iPad"?

What will [[UIDevice currentDevice] model] return for "iPad"? ...

iPhone nextResponder switching keyboards

iPhone SDK 3.2 Beta 4 (I am downloading B5 to see if this clears this up) To me this seems like a bug, but maybe I am missing something. The linked test program illustrates this problem. I have several UITextFields that I am linking together using the Tag property. In textFieldShouldReturn I get the next UITextField and set it as the a...

Am I leaking memory here?

Consider the following method, where I build a string and return it. I would like to release the building blocks of the string, but then the string is based on values that no longer exists. Now what? Am I leaking memory and if so, how can I correct it? - (NSString) getMiddahInEnglish:(int)day{ NSArray *middah = [[NSArray alloc] initWi...

IPad App Issue - Webview

Hi all I developing a Ipad application I am trying to use Webview but not able to open the URL in webview I am using following code NSURL *fileURL = [[[NSURL alloc] initWithString:@"http://www.google.com/"] autorelease]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:fileURL]; [webview loadRequest:requestObj]; this code work...

iPhone OS 3.2 (iPad) Modal View question

I am presenting a UIViewController as a modal viewcontroller with modalPresentationStyle = UIModalPresentationFormSheet. I have few UITextFields on its view. My issue is that when I try to dismiss the keyboard ([textfieldname resignFirstResponder]), it doesn't do anything. However when I change the modalPresentationStyle to UIModalPrese...

How does one get UI_USER_INTERFACE_IDIOM() to work with iPhone OS SDK < 3.2

Apple advises using the following code to detect whether running on an iPad or iPhone/iPod Touch: if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { // The device is an iPad running iPhone 3.2 or later. // [for example, load appropriate iPad nib file] } else { // The device is an iPhone or iPod touch. // [for example, l...

Setting The Wallpaper On An IPad

I think there is no way to set the lock screen wallpaper on the iPhone programmatically (with ref to this question), but with the 3.2 SDK and the ability to set the wallpaper on the home screen on the iPad, does the SDK allow this to be done via APIs now? I looked up the developer reference, but i could not find anything useful. ...

How to change the border color of a Grouped UITableView

This concerns iPhoneOS-sdk-3.2 I am having difficulty changing the border color of a grouped UITableView. I can change the cell background color, separator color, text color, quite easily now, and the rounded corners clip correctly, even when highlighted with whatever colors I have chosen. However the surrounding border remains infuria...