Our app has been crashing with a frequency of roughly 1 in 1,500 launches due to a bug that is proving elusive. The relevant portion of the stack trace is included. It's being fired as a callback so I have no reference for where it's occurring in my own code.
It looks like what's going on is there is a UIViewAnimationState object that...
hi to all
i have an iPad only program (for example : naeimapp)
now i want to make another program for iPhone which have the same name(naeimapp)
how can i make two versions of my application with the same name ( one of them is for iPad and another one is for iPhone).
tnx
...
Hi.
I have a search display controller, and it is searching well.
I'm searching in a table with several sections and I have a viewForHeaderInSection function working as it's supposed to. When I start searching, my numberOfSectionsForTableView returns 1, and I have a special view saying "Search Results" wich I use in self.searchDisplayC...
For some reason, a choice for "Distribution" configuration is not showing up for building an app in the latest Xcode 3.2.2 with iPhone SDK 3.2 when I'm trying to build an app for the iPad
Any one else seeing this? I can set it to "Debug" or "Release" but there isn't even an option for Distribution.
...
Hi, I'm trying to cast this statement:
[self handError:noConnectionError];
basically, this statement is in a class, which is not the app delegate, but is the .m file of a view, specifically a view after uitableview, which contains its own uiviewtable.
The warning that statement gives me is that the error produced may not be apparent ...
I have a small thermometer with a mini-usb connection. I would like to connect it via USB adapters to the 30pin connector on my iPhone. I am a paid dev ($99 version) and can't find much info on the hardware stuff. Is it possible to access this hardware with my current setup? I just want to access the data being generated via the temp...
When I try to retrieve phone numbers from Address Book contacts, the result is always nil if the contact has an e-mail address. This is obviously a big problem...such a big one, in fact, that I have a hard time believing I'm not doing something wrong. But every test I've done--including using other, unrelated code samples--gives the same...
I would like to separate my string by spaces, commas, periods (ie. punctuations). I am using:
[myString componentsSeparatedByString:@" "];
to separate by spaces, but need to be able to split by punctuations as well.
...
In order to provide UI for user to add new items to my table view, I would like to add a new row in my table at a specified location (last row for example) when the view is in edit mode (I have a edit button on the view's navigation bar right side). This new row will have a add button indicator on the left side and disclosure accessory a...
I have the following code in a production application which calculates a GMT date from the date the user enters:
NSDate *localDate = pickedDate;
NSTimeInterval timeZoneOffset = [[NSTimeZone defaultTimeZone] secondsFromGMT]; // You could also use the systemTimeZone method
NSTimeInterval gmtTimeInterval = [localDate timeIntervalSi...
I want to add a few drawing functions to an iPhone project for drawing things. Something like drawTile(x,y,len,wid); which would call openGL to draw a box somewhere. I should just be able to write a procedural C file to do this but the openGL libraries are objective C and I'm getting weird errors. Do I have to make a class for all of my ...
I would like to be able to debug handling of push notifications that originate from the production environment using Xcode. However, it appears that only distribution provisioning profiles can be used with an aps-environment entitlement value of "production". Is there a way to debug production messages on the device using Xcode?
...
looking to develop a magazine app similar to Time and GQ.
Can anyone tell me what method they are using to pull the content in?
...
Let's assume I have the string
NSString* myString = @"Hello,";
How can I remove the comma without leaving a space? I have tried:
NSString* newString = [myString stringByReplacingOccurrencesOfString:@"," withString:@""];
and
NSString* newString = [myString stringByTrimmingCharactersInSet:[NSCharacterSet punctuationCharacterSet]];
...
Hi,
I have a very simple HTML page with this META tag for the iPhone:
<meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,user-scalable=no" />
Using the iPhone Safari, when the page loads in portrait mode it looks fine and the width fits the screen.
When I rotate the iPhone to landscape mode the we...
I am trying to animate table rows in a UITableView in an iPhone project as I swipe across the screen to reload the data.
When I disable animations and only call reloadData, table continues responding to swipe gestures.
When I add animations with the reloadSections:WithRowAnimation: method, table stops responding to swipes, and only the...
I'm trying to display a PDF of music using the Quartz 2D calls:
CGPDFDocumentGetPage
and
CGPDFPageGetDrawingTransform
The problem is that some horizontal lines in the PDF get drawn thicker than others. The biggest problem is that I notice this in Preview on the Mac and on iPhone/iPad. Even when viewing this PDF in the iPhone/iPad mail,...
This just saves time.
Since I already have a web applciation.
I can just stick it inside a webview.
The question is: Does it turn off many users? How many users will be disgusted that the entire iPhone app is written in WebView?
...
I am using this to determine which view to go to next, from the result as input from UITableView. The following code isn't working, but I think it should be!
Do you see anything wrong with it?
NSString *option = [menuArray objectAtIndex:indexPath.row];
if (option == @"New Transaction"){
NTItems *nTItemsController = [[NTIte...
Is it still possible to find the 3.1.3 SDK (w/ Xcode) for iPhone development on Leopard?
I haven't upgraded to Snow Leopard yet, but I need to interact with devices running 3.1.3. I should have grabbed that version when it was up, but I didn't.
So, does anyone have a link to the 3.1.3 iPhone SDK (w/ Xcode)?
...