iphone

Do "Product Name" and "Bundle Display Name" have to match?

Hi, I've recently submitted an app to the app store. I didn't really understand everything about the "Product name" and the "Bundle Display Name" until now. I originally was calling my app "Knock Out", so the Product Name is "iKnockout3D." I later changed the name to "Shatter 3D," so the app that I have in review has an iTunes name and b...

change default application on iphone

Hi Guys - Is there any way to change the default application? E.g. change mailto: behavior to launch 3rd party application when user selects an email address anywhere on iphone OR launch SMS application when user selects a phone number. Thanks for your help! ...

iPhone dev: how do you print results from a Core Data fetchRequest?

I've added the following to the AppDelegate in the Core Data Recipes example, but I don't get any printed result in the Console...any ideas? #pragma mark - #pragma mark TESTING RETRIEVAL OF RECIPE NAMES - (NSArray *)allRecipes{ NSFetchRequest *request = [[[NSFetchRequest alloc] init] autorelease]; NSEntityDescription *entity = ...

CoreData countForFetchRequest says 'entity not found'

I'm experiencing a strange problem when trying to count the entities in a managed object context. - (NSUInteger)countEntity:(NSString *)entityName inContext:(NSManagedObjectContext *)context{ NSFetchRequest *request = [[NSFetchRequest alloc] init]; NSEntityDescription *entity = [NSEntityDescription entityForNam...

UITableView tap and hold event?

I was wondering if there is a "tap and hold" event for UItableView (or the UILabel it holds). basically I need to find out which word user has tapped on somehow. ...

ABPeoplePickerNavigationController - remove "Cancel" button without using private methods/properties?

I'm using the ABPeoplePickerNavigationController, a subclass of UINavigationController, and in the context I'm using it the default nav bar button for the right side, "Cancel", makes no sense. I can't find a way to disable or hide it, and whatever method used needs to be public and store-approvable. Getting rid of the nav bar entirely (p...

Problem in Multiple button onclick event in iPhone

I have created five buttons in a for loop dynamically. Now I want to associate an OnClick event with every button which do different actions. How I can do this and how can I detect which button is clicked? for (NSUInteger i=0;i<5;i++) { UIButton *myButton1 = [[UIButton buttonWithType:UIButtonTypeCustom] initWithFrame:CGRect...

UITabBar / UIToolBar overlap problem (iphone sdk)

I have a custom button in another view directly above my UITabBar. It seems like there's a hidden "hit area" above the UITTabBar that is preventing me from hitting the bottom half of my custom button in another view. The button subview is on top of all other views including the custom UITabBar. It's really easy to notice this effect in ...

MulticastDelegate in ObjectiveC

I'm using MulticastDelegate class which is part of xmpp framework and taken here It works perfect for me! However I got warning: 'MulticastDelegate' may not respond to 'someMethod' Is there any way to avoid the warning for this class? Thanks in advance. ...

How to Create the Highlight/Note Popup Buttons from the iPhone Kindle

Hello All, I am wondering how Amazon did the highlight/note popup buttons in the Kindle app. After reading about UIPasteboard, UIMenuController, UIResponder, and UIResponderStandardEditActions, I am able to turn on or off standard edit actions (i.e. copy, cut, paste, select, and selectAll). However I haven't found a way to add a custom ...

UIActivityindicatorView within label possible?

anyone can give the detail how to do it?please see that link? http://www.freeimagehosting.net/image.php?c66c4d2054.jpg ...

iPhone: Accessing view objects from a ViewController in Code

NEWBIE QUESTION Let's say I have a ViewController that needs access to a view. In the class file of the ViewController I am doing IBOutlet ViewA *someview; And in IB, I drag and drop a UIView in my document and set the class to ViewA. I am missing how "stuff" is instantiated when you connect through IB. Is ViewA automatically alloca...

didReceiveAuthenticationChallenge method crashes in the SDK 3.1.2

I have code running good in 3.0 and 3.1 but when I use the SDK 3.1.2 is crash at the didReceiveAuthenticationChallenge method says a log "obj_msgSend" . It happens always when using didReceiveAuthenticationChallenge . Also I have all the other methods in that class didreceive response connectionfinishloading didfailwitherror etc Pl...

How to parse xml file that is encoded with another encoder different from utf-8 with using NSXMLParser in objective-C?

Is there a way to parse xml file that is encoded with windows-1254 with using NSXMLParser? When i try, didStartElement method not called. ...

iPhone + gridview

Hello, Is it possible to have something like Data Grid or Grid View control in iPhone? ...

Animating views

i have a tableview with multiple rows.row values dynamically changes every 2 secs except last row .i like to add a rotating view in the last row. how to add a animating view in the last row? how to rotate a view inside a tableviewcell? i'm not looking for a UIActivityindicator. i want to rotate my view around z axis. ...

How do I reset a UINavigationController?

Hi, I have a problem involving the UINavigationController. I have a application that have three view controllers that I'm switching between using the navigation controllers push and pop functionality. The problem is this: I stand in the third view controller and makes a call to [self.navigationController popToRootViewControllerAnima...

Very basic problem with Tab Bar Application and Interface Builder

OK, here is how to re-create the problem had: Create a new project, using the Tab Bar Application Add a UILabel within SecondView.xib Add IBOutlet UILabel* myLabel; to FirstViewController.h Connect up myLabel in IB. Build and run. When I click the second tab the app crashes with: __TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION__ ...

iPhone - use the Featured Tabbar item image with custom title

Hi I would like to use the "Featured" tabbar item image with a custom title. I have gone through the various questions on SO regarding this and looked everywhere in the SDK frameworks but could not find the PNG for this item. I am using IB to initialize the tabbar and it is a tab-based application. Can someone please help me out, where...

is MKMapView allocating its own location manager?

I'm not understanding if a MKMApView has its own Location Manager. From one side there is not any delegate method to handle the updating of position and so on. From the other side I can set to show userLocation and thus there must be a Location Manager allocated. Am I missing something? ...