iphone

wait_fences: failed to receive reply: 10004003

Hello. I have an alertview that is being created with a textfield inside of it. when i close the alertview via a submit or cancel button, i am getting the wait_fences error in the console. it doesnt crash, or i havent been able to make it crash but id really like to figure out what is going on. alert = [[UIAlertView alloc] ...

NSMutableString stringWithString:NSString not working for me

Hi guys, This piece of code below is causing my app to crash EDIT @interface termsAndConditions : NSObject { NSMutableString *titleText; NSMutableString *bodyText; NSMutableArray *arrayBodyText; } @property (nonatomic, copy) NSMutableString *titleText; @property (nonatomic, copy) NSMutableString *bodyText; *EDIT* else if ([[self....

UITable cell selection in a SplitViewController

I have a UISplitViewController with a Table View for navigation. It's similar to the Mail app. When you click on a table view in portrait mode, the popup hides itself. When you click on the nav bar to get the popup back, the selected item no longer appears selected. How can make this item appear selected without re-selecting the item? (j...

I dont know how I can save project to ipa

Thank you I learned a lot from this site I have a question I finished the application is running webview But I remain one step keeping the program And send it to the iPhone to try it on two ipa I want to save formulas ipa Thank you ...

Units in HTML for iPhone/iPad

What CSS measurement unit should I use for the dimensions (widths, heights, margins, paddings, fonts, etc.) of an embedded HTML resource that should run both on iPhone and iPad? Or should I use alternate CSS styles for iPhone/iPad instead? I would like the content of this resource to look well on both devices, without having two creat...

Can you test iphone apps with xcode using wifi?

I want to be able to test my app while walking around my house, wirelessly. Can you connect the iphone to xcode thru wifi? ...

MapKit doesn't show Blue Dot for Current Location

Hi Guys, I am a newbie in MapKit for iPhone and tried to implement this, for some reason I can't see the current location blue dot, anyone else had this issue???? #import "DetailMapViewController.h" #import "mapAnnotations.h" @implementation DetailMapViewController @synthesize inStock; -(void)getlocation:(CLLocationCoordinate2D)loc ...

Are IPhone apps guaranteed to work on iPod touch?

Since, I don't have the iPod touch simulator in xcode, and I don't have an iPod touch device there's not much of a way for me to test my app on this device. Since it works on iPhone 3gs and iPhone 4 can I safely assume it works on the iPod touch too? Thanks! ...

Several Custom UITableViewCells in one NIB - how to refer to in code?

I'm creating custom UITableViewCells using the approach outlined on this page: http://icodeblog.com/2009/05/24/custom-uitableviewcell-using-interface-builder/ So my cellForRowAtIndexPath code looks a bit like this: static NSString *CellIdentifier = @"CustomCell"; TableCellWithLogo *cell = (TableCellWithLogo *)[tableView dequeueReusabl...

Selection of tableview cell's index path

Hi all, I have a question regarding the selection of table cells. I have three grouped tables which are used as forms, only one of which should be in view at a time. So in the nav controller I have a button which presents another table in a popover with the title of all three forms and will control which form is currently available. So...

Finding users close to you while the coordinates of you and others is free to change

I have a database with the current coordinates of every online user. With a push of a button the user can update his/her coordinates to update his current location (which are then sent off to server). The app will allow you to set the radius of a circle (where the user is in the center) in which you can see the other users on a map. The ...

App-store: Is it a good idea to include a youtube video link in the description of an app?

Will the viewers be able to click on a link from a description or is this not possible as far as how the app-store works? I'd like to show the users what the app will look like before they buy it by showing them a video of it on youtube. Thanks p.s and no, this is not a marketing question. Only programmers know the answer to this ques...

iPhone horizontal accuracy not getting above 100.00

I'm using CLLocationManager to get a location, and I need I within about 40-50 meters. I have desiredAccuracy set to nearest ten meters (also tried with best). It always comes up as 100.00. No higher, no lower. Don't have cell service on the phone, just going off GPS and WiFi. iPhone 3G. Also tried with Apple's LocateMe sample proj...

iOS Core Data how can it leak?

Hello I was analyzing my app with leaks, and i observe that some core data entity is leaking, how can a NSManagedObject leak? I thought it was managed by the operating system? Are there known leaks in core data? The line that Leaks says causes the leak is NSMutableArray *e=[NSMutableArray arrayWithArray:[[user videos] allObjects]]; ...

Locate an iPhone reliably indoors?

I'm writing an app for a museum tour. I'd like my app to know where the user is in the building, if the user is standing in a particular room, in front of a particular work, etc. GPS doesn't work inside. (Using WiFi positioning could work, but I know Apple doesn't use Skyhook anymore, so I don't know where I would register my base stati...

Programmatically upload and launch iPhone/iPad application on a device

I am looking for some way to programmatically upload an iPhone/iPad application to a device through USB connection from Mac OS X and launch the application on the device. I know how to do it manually from XCode. The goal is to create test automation of an application on iPhone/iPad device/simulator. Thank you. ...

How can I perform app price drop just for one date in Appstore?

I have got an app which is currently Tier 5 priced. I want to drop price for my app from Nov-01 till Nov-05 (both including) to Tier 1 and then one day (Nov-06) to Free and then come back to the original Tier 5 pricing. What exact dates should I put for each time period? First I tried to put 2 new date periods: from Nov-01 to Nov-05 (...

iPhone read image from socket

I am working in a little app for iphone base on ideas used to make an Android app. To test, obviously i use the simulator, but the simulator don't have support for built-in camera. The Android idea to test this consist in use a WebCamBroadcaster Java app in the desktop to capture frames from built-in webcam and pass it through socket. Th...

Maintaining Directory Structure when loading local files into UIWebview on iPhone

Hello All, I'm noticing a minor annoyance when working with local files in a UIWebview and hoping there is a simple workaround. As a simplified example lets say in my xCode project I have a folder called "WebProject" that contains an html file and a subfolder called "images" where the images reside. The html file references the images a...

What's the best option for loading web content in a UIWebView?

In previous apps, I've loaded data into a UIWebView using 4 steps: 1. Use an NSURL Connection to grab the data from the web asynchronously 2. WHen the download is complete, convert the NSData object to a string, and manipulate the data prior to display. 3. Write the converted data out to the doc folder 4. Load the data into the UIWebVie...