iphone

pushViewController doing nothing in multiple tab app?

Hi all, I have a window based iPhone application with multiple tabs and a navigation bar controller which appears on all these tabs. It's a weather/climate app, so I want the user to first choose a city, then be presented with weather info in each tab for that city (they can go back to the city select from any tab using the navigation ba...

Is it possible to test my iPhone/iPod application on iOS 3.1.3

When building I am getting this error. The Info.plist for application at /Users/guest2/Documents/MOYMalpha/build/Debug-iphoneos/MOYMalpha.app specifies a minimum OS version of 4.0, which is too high to be installed on iPod touch I tried to change the verison in Xcode but minimum verison it is showing for iPhone is of 3.2..so what ch...

Problem with UITextView and frame task

Hi this is my UITextView coordinate on InterFace builder : so if i want use this coordinate via frame task , my UITextView going to change the position on the screen !!! i don't know what's the problem ! i insert the exactly numbers on the interface builder size tab . textPad.frame = CGRectMake(511, 219, 751, 260); what is the pro...

scrollToRowAtIndexPath not scrolling to correct row after 3/4 of rows

I've got an iPad app with a UITableView that has roughly 100 rows. The cells are custom, I've implemented heightForRowAtIndexPath to tell the UITableView how big my cells are. I'm using this: [tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionMiddle animated:NO]; to scroll the tabl...

Problem in calling method using NSTimer?

Hi, I want to call the method after particular time only one time therefore i was written an statement as following. imageAnimationTimer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector([self imageViewAnimation:imageViewObject]) userInfo:nil repeats:NO]; Above won't be worked. Why? It give me some stran...

how convert NSDictionary element to NSData (dataUsingEncoding cause crash)

Hi all, i try to convert NSDictionary element to a NSData element: ... while ((key = [enumerator nextObject])) { NSString *temp = [dictionary objectForKey:key]; if ([key isEqualToString:@"results"]) { //Crash HERE! -------------------------->>>> NSData *myData2 = [temp dataUsingE...

Building my own game server for a turn-based multiplayer iPhone Game.

From the Game Kit Programming Guide... Multiplayer allows players interested in playing an online multiplayer game to discover each other and be connected into a match. Depending on your needs, your application can have either use Game Kit to connect all the participants together, or have Game Kit deliver a list of play...

iphone: render text vs. burn into image

This might be more of a philosophical question, but is there a compelling reason to go one way or the other when presenting text above an image: 1. Burn the text into the image on the server side and just show the image on the iphone or 2. Send the background image and the text separately to the iphone and have the iphone render the t...

Deleting app from appstore

Hi, I have submitted an app to appstore. It's approved and now ready for sale. Now, I want to remove the app from appstore. Please help. -Chaitanya ...

Get rid of cached data in didUpdateToLocation

I'm trying to get the actual position on the iPhone Simulator. But I always get the cached result. My question is related to this and this question. I'm using the code from the LocateMe example: - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)ol...

Is there an objective-c git library that would support push/pull against a remote repository?

Is there an objective-c git library that would support pushing to/pulling from a remote repository? I'm familiar with objective-git, but if I'm reading it correctly, it is for interaction with a local repository. Ideally, the library would work on iOS and Mac OS X, and would be permissible for inclusion in app store apps. ...

iOS App Architecture with NSOperations

Two month ago I started to write a new iPhone Application and for this reason I created a generic RESTFul web service, which allows me have a lot of these necessary features like user authentication, user profiles, a friendship system, media processing, a messaging system and so on. In my mind there are several use cases to reuse this we...

Will [NSSet allObjects] return an array with the same order each time?

I have a list of custom objects being returned from a .NET WebService and am storing them using a To-Many relationship from the parent enitity with Core Data. I want to use the NSSet as the datasource for a UITableView and push a new controller onto the stack when a row is selected. When using [NSSet allObjects] does the array re...

Using sqlite GROUP BY in a 'conversation-like' thread

We have a VERY old Sqlite database that can NOT be resigned/changed at this late stage. It has fields like User1, User2, and ConversationDate. How would I use "GROUP BY" so that instead of 2 records output... I would only get 1? Bad output: Bob contacted Fred on 01-Jan-2007. Fred replied to Bob on 11-Jan-2007. Desired outpu...

Multiple UITableView in a UIViewController and using UISearchDisplayController with a UISearchBar in a UITableViewCell

I have 2 tableview in a controller and I'm showing my searchbars in a cell in each tableview. But when I'm initializing the UISearchDisplayController it attach itself to the viewcontroller and when I'm using the second seachbar the UISearchDisplayController does'nt get updated right away, so it doesn't "search", when I tap again it does ...

MPMoviePlayerController refuses to play sound through speaker in iOS4

I'm using a MPMoviePlayerController to play some video, I get image, but as soon as I try to play a sound without the earphones, the volume control disappears with an animation. If I plug the earphones, or some external speakers, the volume control returns with an animation. The app has been tested with an iPad iOS 3.2 and works fine, a...

Anyone know how to build a table view that resembles the iphone native "new contact" table view?

I'm currently building a user profile view. At the moment I have a table view that contains all the data but I like the layout of the apple new contact table view. I would like to have the same layout or similar layout in my app. Is this possible? and if so what can I do to get started on accomplishing this task. Currently I do have a c...

iphone - web service communication for mac => Required packet sniffing assitance

Hi All, I would like to see the HTTP request and response headers sent and received in my MAC. Is there any tool which can sniff the wireless data too. Kindly help. Wireshark didnt work out well for me as of now. ...

Core data: Transient values dirty object

Hi, I'm using transient values to provide some data within my application. The trouble is, as soon as these values are calculated, it dirties my Managed Objects, reporting that a re-save is necessary. Is there anyway to prevent transient values from marking an object as dirty if there are no actual changes to the object graph. Thanks, ...

Google maps on mobile device via browser.

Im in a bit of a rut here. I'm trying to get a store locator to work correctly on a mobile device. http://www.trytyku.com/mobile (try NY zipcodes ie. 10023) The problem is, whenever I click a location when i'm on my iPhone it doesn't center to the marker on the phone, yet it seems to work fine in the browser. If anyone has an idea on wha...