iphone

CoreData and ASP.NET webservices.

Hi, I'm developing an iPhone app that relies heavily on calling ASP.NET Webservices to transfer data to and fro between a database in one of our servers and the phone. There are multiple items that the user works on. And to work on each item, a typical usecase requires 5-6 webservice calls. Depending on 3G signal strengths, the amount ...

Build settings in xCode that support iOS 3.0 - 4.0 and iPhone 3g - 4

I want to build an app that is compatible with iPod touches, iPhone 3g, iPhone 4, iOs3.0, etc... Everytime I build on a 3GS, I use these build settings Architectures: Standard (armv6 armv7) Build Active Architecture Only (Unchecked) Valid architectures (armv6 armv7) And I select armv7 as the active architecture before I build. However f...

iPad SDK: Why are my nib changes not showing?

I've made an iPad app. Now, I'm changing some UI elements in the NIB. When I run the app in the simulator none of my changes appear. I've tried touching the project before building. Nothing is working. Can anyone shed some insight? ...

CTFramesetterSuggestFrameSizeWithConstraints sometimes returns incorrect size?

In the code below, CTFramesetterSuggestFrameSizeWithConstraints sometimes returns a CGSize with a height that is not big enough to contain all the text that is being passed into it. I did look at this answer. But in my case the width of the text box needs to be constant. Is there any other/better way to figure out the correct height for ...

Replacing Core Data sqlite file while app is running, data does not update

I am developing a backup/restore system for my app in which the user can download a backed-up version of the core data store (sqlite file) and replace the currently-used data store with the downloaded file. However, once the user downloads the file and replaces the current data store, none of the data appears to have been updated. But wh...

iPhone start Audio Recording by Voice

Hi, i already have a 'start voice recording" when the volume reach a special level. But it has one downside. When it starts recording it already missed a 1/2 second or so. When speaking a sentence it would miss the first word. Any ideas (best with example). Lets say I start first listening and get the peakpower, average, lowpass [r...

Navigating to Second View in TabController calls First View's "viewDidLoad"

Hello, As the subject says, I have a project based on Apple's TabController template. The problem is that when navigating to Second View in the TabController, the First View's "viewDidLoad" method is called. The second view's method is NOT called. Any idea what might cause this? I would post code but I'm not sure what part might pertai...

Where is iPhone crash report UUID recorded?

Sometimes I am unable to symbolicate my application's stack frames in a crash report. This is because I do not have an older .app and .dSYM. I was trying to force XCode to use my newer .app and .dSYM as the app has not changed significantly. Is there a way to modify the UUID associated with the crash report? Is the UUID stored in file's...

Update UITableView using threads

Hi guys, I am creating a dictionary application for iPhone that gives result while the users are typing. I use threads (NSThread) to update the UITableView so that the main thread is not blocked. However, a crash happens when the UITableView asks the data source for the number of rows ( tableView:numberOfRowsInSection:) and I return, s...

What is the use of @property (nonatomic, retain) statement in the application ?

i m a beginner iphone developer and i want to know about what is the use of @property (nonatomic, retain) statement with exampel , any body can give me any answer ? ...

Is there a JQuery plugin for the iPhone that will notify the user to "Bookmark" their app?

Because it is not possible to force the iPhone to bookmark a webpage, I want a little arrow/bow to drop down to notify people to bookmark my mobile web page. ...

Anyone integrated Quick Sequence Diagram Editor with XCode

Has anyone had any luck integrating Quick Sequence Diagram Editor with XCode and in particular Objective C iPhone development? I have tried creating sequence diagrams manually with VP Suite and Omnigraffle type applications but as soon as the code changes the diagram is out of date, so the idea of generating it dynamically as the app is...

Developing iphone applications for beginners. and books

i am a newbie in iphone application development. whats first ..objective C, Xcode, Cocoa programming, interface builder ...

What can I do inside "location" background thread?

For the sake of this question, assume I plan to build a Google Latitude client app for iOS 4. my app needs to upload the user gps location every two minutes, and also download the user friends locations. - in the background! my app can't wait to be woken up by the OS on cellular tower switches (because they may only happen after 2 KM, w...

Is it possible to know if an image is in the iPhone system cache?

I am trying to improve scrolling performance of a UITableView. I am loading the images using imageNamed: and dispatch_async, but scrolling is very good once the images have been loaded into the cells. I would like to fade in the images only if they are not in the system cache to reduce the jarring effect of the images "popping" into view...

Is there a way to launch an iPhone app without user intervention at a given time/day on iOS4

I would like to launch an app into the background on a given day/time to perform some background task. Using LocalNotifications doesn't seem to cut it because the user has to respond to the notification in order to launch the app. Any ideas? Thanks ...

updating settings from within app in iphone 3.1 effective on re-launch of app - does not work in iOS4

Hi, I am working on an App for iphone OS 3.1. In the app I have 'settings' tab where user can update some values which are effective when the app terminates and re-launches. I have now built this app with Base SDK set to 'Device 4.0' and the deployment target to 'iOS 3.1', since I do not want to loose the iOS 3.1 user base. Running t...

iPhone: what is the search-list view controller called?

I'm just beginning iPhone development, so please bear with me. I'm looking to make the first view of my application look like the search tab in the App Store, with a search box at the top and a list of results, and while the user is typing hopefully show the last-searched-for items. Please point me in a good starting direction; is that...

Is there a guide on learning iPhone development from the perspective of an Android developer?

I consider myself an Android developer, after having created four apps and learned a lot by creating them. Now I've begun my venture into the iPhone app development world, and I don't remember the Android learning curve being this extreme. It doesn't help, though, that I was very familiar with Java and Eclipse whereas I hardly even know ...

iPhone Saving/Loading data manually, without it Automatically loading.

Hello! I am working on a game that makes use of a save/load feature. I am using a Plist for the data. I have the methods coded correctly... I think? The issue, however, is that when the home button is pressed, and the App re-launched, the saved data automatically appears. What I'd prefer is for the data to be manually loaded via a "L...