iphone

IPhone: Custom Button - Why is title not showing?

So I basically dragged a button from interface builder's library, turned it into a Custom button. Then I added one png for the "default state configuration" and another png for the "highlighted state configuration". Let's just assume these png's are a red box and a blue box. Now, I'd like the Title to display for the button i.e., "Press...

Downgrading to a previous version of an iphone app

Hello, I have an app on appstore. I uploaded a new version and it was published. But, just after that I realized an important bug in my app. Since the approvement process takes a long time, I want to downgrade to the previous version until the fixed version is approved by Apple. Are there any way for that? Thanks ...

NSString to 64bit integer converstion on iPhone

Hi! I am struggling with very simple thing: I receive some ids by http request as a string. I know they represent 64bit integer id numbers. How can I convert them to the 64 bit Integers (NSNumber or NSInteger)? Functions like: [nsstring integerValue], [nsstring intValue] seems to be 32bit limited (max value:2147483647). Any Hints? ...

how to download All images from nsxml parser effiecently

i am using nxmlparser now inorder to download all the images i am using this if([elementName isEqualToString:@"image"]) { //if([elementName isEqualToString:@"image"]) //[aBook release]; //aBook = nil; NSLog(@"Processing images Value: %@", currentElementValue); NSUserDefaults *img = [NSUserDefaults standardUserDefaults]; [i...

From where I can get some coding help for Nimbuzz for iPhone like application?

Hi Everybody, I am trying to develop an application just like the Nimbuzz application for iPhone. Can any point me to some useful sites from where i can get help regarding the same. I would like to have some coding help for this purpose. Is the code used by Nimbuzz available on the net for public use or some snippet of the code used by ...

UIView on top of parentView

Hey all, I have a navigation view controller and I want a subview ( just a view and not a view controller) to slide on top of it when a button in the parent view is clicked. Now, the thing is when I do this: [parentView addSubview:slideView]; [UIView beginAnimations] //setting the frame for sliding [UIView CommitAnimations] the ...

calling viewDidLoad after some delay

Hi The scenario is as follows: My application has a tabBarController on tapping a tab there occurs some parsing of XML from server which takes some time.The data recovered from parsing is gonna be there on the view of the selected viewController(i.e; the data is used in the viewDidLoad method).Now how can I ensure that the viewDidLoad ...

UITableView weird crash on row deletion

I have an UITableView whose rows can be deleted. this table view has a search bar at the top. the problem is: if search was used, application crashes when I try to delete any row from the table view. there is no information in the debugger console. all I have is function stack from the debugger: Any ideas what it can be? UPDATE 1: cr...

how can i handle selected imageview in view by touch

hi i am new to iPhone.What i did is displaying the 4 imageview and animating them,means imageviews are moving randomly in view.Now how can i handle the particular selected imageview.when ever i select the an imageview among the four imageviews the selected imageview animation will stop and i need to get notification of which imageview ...

what is the basic configuration of sdk and x code to use core telephony ?

what is the basic configuration of sdk and x code to use core telephony and message composer framework in our application ??i have x code 3.2.2 and sdk 3.2.4 ,can i use these frameworks with this configuration?? ...

Can I test my In App Purchase in the sandbox when the App is in the App Store?

My app is already in the App Store but there seems to be a bug with the In App Purchase. I want to debug it but I cannot get into the sandbox environment with my iPhone and XCode. Is there anything special I have to do to work in the sandbox again? Thanks ...

Startup image in webapp for Retina display?

Anybody know how to get iOS to display higher resolution startup image when using ? Currently I'm stuck with 460x380 image which obviously looks horrible when displayed on iPhone 4's high dpi display. I tried the @2x trick but didn't seem to work. Any ideas or workarounds? ...

chat in iphone sdk?

is it possible to create chat application like gmail (message sending is enough) in iphone sdk?any help? ...

Efficiently updating cosine similarity scores

My iPhone application is using a SQLite database with the following schema: items(id, name, ...) -> this table contains 50 records tags(id, name) -> this table contains 50 records item_tags(id, item_id, tag_id, user_id) similarities(id, item1_id, item2_id, score) The items, tags, item_tags and similarities tables are populated with p...

iphone app icons - low & hi res

Hi, how can i provide both, a high and low resolution version of my iphone app icon ? do i "need" to provide 2 versions, or takes apple care of downsampling my high resolution icon ? thanks ...

creating a gregorian calendar UI for ipad.

I am new to Ipad development. I am making an app for which i need to use a calendar UI. can anyone please help me as to how do i get started? any sample code will also be of great help. thank you! ...

cache data on iphone

Hi Guys I loaded XML data (including images, text,...) from server and display that data on iphone screen. How can i cache data to re-load that screen when i visit that screen other time. It will be faster . (dont need re-load XML data again)? Thank you. ...

How do I measure the distance traveled by an iPhone using the accelerometer?

While GPS works for long distance changes, I would like to measure a shorter distance by using the iPhone's accelerometer. Say I want to measure a height of a box using an iPhone application. You'd start the application, press a button to start measurement at the bottom of a box, move your iPhone from to the top of the box, then press ...

Detecting the font corresponding to the preferred system language

Hi all, I'm in a situation where I need to draw glyph characters. So, the logical course of action is this: CTFontRef ref = CTFontCreateWithName(CFSTR("HiraKakuProN-W3"), 12, NULL); CGFontRef ftRef = CTFontCopyGraphicsFont(ref, NULL); CGContextSetFont(theContext, ftRef); int count = [self.text length]; UniChar *chars = malloc(sizeof(...

status bar disappear when MFMailComposeViewController is loaded

Hi, When the MFMailComposeViewController modal view is loaded, the status bar disappeared. It doesn't appear again anymore if I navigate back to other view controllers. So after MFMailComposeViewController is loaded, the apps end up with no status bar. Is there any way to fix it? ...