iphone

How can I get the cellular connection interface name on the iPhone?

I did not find any clues on how to get the cellular connection interface name. BTW is the cellular connection interface static or it can change for example from en1 to en2? Thanks ...

iPhone SDK - NSDateFormatter day + month

Hi Everyone, I would like to display only the day and month of a date. Basically the NSDateFormatterLongStyle but without the year. The problem I'm facing is the localization. In the english version it has to show for example 'January 14' and in french '14 Janvier'. Is there an easy way to print such dates? Or do I have use ifelse sta...

why viewWillDisAppear is not being called in detail view ?

I think lot of people are facing the same problem . In detail view i.e tapping on cell in main view takes you to the detail when in navigation bar I tapp the back button the viewWillDisAppear is not being called as I want to remove some keyboard hide and show observers . So what is the way that at the time of view disappearing I assure...

want to go to next view from rightbarbutton item.

I am using this code to get the three button on the right side of the navigationbar ,button are visible but next to this I want to go to the next view from this three button image, text ,vedio. NSArray *segmentTextContent = [NSArray arrayWithObjects:@"Image",@"Text",@"Video",nil]; UISegmentedControl *segmentedControl = [[UISegmen...

What is the reason the UIKeyBoardWIllShowNotification called once ?

Hello all, I am using keyboard will show and hide notification for sliding the view to get the visible text view. I have a tab bar application with six tabs. In each view I am using the navigation controller. In the detail view of each table view cell I am using the keyboard notifications. So the problem is that the keyboard notific...

UIWebView and scroller indicators

Sorry for my english, I'm not a native speaker. I have a problem with scroller indeicator. When I load a simle web form into UIWebView, the scroller indicator appear on the right side of the screen. It's right, but when I try to edit some field on the form, scroller indicator move at center of the WebView, as you can see on the picture....

How to write a C++ handling class for Objective C

// -------------------------------------------------------------------- UPDATE: I messed up. I left a call directly to openfeint in my AppDelegate->onApplicationWillResignActive which was causing the compiler C++ error. My Appologies, the singleton does work should anyone be thinking of trying the same thing. Just be sure to include t...

Hide or remove a tab in tab based application in Xcode

Hi Guys, I am very new to iPhone and Xcode. I am trying to create a tab-based application, in that from the first page, when a button is clicked, I need to remove/hide some of the tabs added in the tab bar. Can any one help me out please. Thanks and Regards, Bala. ...

Iphone: label text udates value but does not show in view

Hi.. Im working on a part of code where a label text should change value after getting a new value from a singleton class. Seems simple enough, and after testing the value it actually changes aswell, but its not updated in the view. In the view it stays the same as before. Ive tried the code both in -(void)viewDidLoad and -(void)viewWi...

closed beta application in the app store?

Hi! Is there a way to have something like a closed private beta in the app store? So a customer could see and try the product after I sent him the link. If the app get's approved by a customer I would change the status from private to available (or something like that). Is this possible with apples app store? Thank you. ...

Hide UIMenuController using UIMenuControllerWillShowMenuNotification

Hi, I have a UITextView(not editable). When user tries to select text I want to hide the Select | Select All menu. Is there a way by which I can hide using the Global notification UIMenuControllerWillShowMenuNotification, or is there any other way by which I can hide and Select | Select All menu? Thanks a lot ...

UIScrollView - showing the scroll bar

Hi all, Possibly a simple one! Does anyone know how to get the scroll bar of a UIScrollView to constantly show? It displays when the user is scrolling, so they can see what position of the scroll view they are in. BUT i would like it to constantly show because it is not immediately obvious to the user that scrolling is available An...

How can I develop an iPhone application in Perl?

Could someone provide a good link to book about how to develop iPhone application with the Perl programming language? ...

Multi-line UITableViewCell using UITableViewCellStyleValue2 style

I'm trying to figure out how to replicate the UITableViewCellStyleValue2 style so that the detail text can be multiple lines - as seen in the 'address' cells in the Contacts app. Like the Contacts app, some of the fields (like street name) are optional; so it would show say 3 lines instead of 4, if the street was not nil. I'm I missing...

Custom init method in Objective-C, how to avoid recursion?

I want to create a subclass of UINavigationController which always starts with the same root controller. Nothing special, so (to me) it makes perfect sense to override the init method like this: - (id) init { rootController = [[MyController alloc] init]; if (self = [super initWithRootViewController:rootController]) { // do...

get NSDate today, yesterday, this Week, last Week, this Month, last Month... variables

what i am trying to do is to get NSDate today, yesterday, this Week, last Week, this Month, last Month variables ready for comparison for headers to be added on UITableView's titleForHeaderInSection what i want is done manually in the code below for date 2009-12-11 NSDate *today = [NSDate dateWithString:@"2009-12-11 00:00:00 +0000"];...

UITableView/UITableViewCell tap event response?

I've been googling around to try to figure out what sort of event handles are called when one row (or cell) in a UITableView is tapped, but haven't been able to figure it out. I'm trying to change the image property of the cell when it's tapped. Thanks. ...

iPhone SDK - opening links in a UITextView in a web view

I have specified dataDetectorTypes on a UITextView so that URLs open in Safari when touched. Is it possible to intercept this behaviour so I load the URL in a UIWebView instead? Or would I have write my own URL detector code to re-route this? ...

Saving UITabBar Layout

I had heard that the customizing of the tab bar icons was free when you use UITabBarCotroller (which it looks like it is) but what magic do I need to add to get that layout to stick across instances of the application? ...

Modal View Shake Gesture

I am having an issue with using a shake gesture with modal view switching. The shake gesture works when I move into the specified view controller the first time. When I exit and return however, it does not. I have implemented the can become first responder and viewdidAppear techniques, and the console detects a shake using an NSLog en...