iphone

change launch image(default.png)??

i am quite new to iphone development but i have been given a old application and told to change the launch image(default.png)..i tried to google it but couldn't get much help from it?? how can i change the default image in my old application?? any information regarding it will be really helpful?? ...

adding uiswich as navigation item

hi, in which way i can add programmatically an uiswitch as navigation items or btw on my navigation bar? i'm going crazy :D ...

Can we use union of two sqlite databases with same tables for Core Data?

Hi All, I have an iPhone Core Data app with a pre-populated sqlite "baseline" database. Can I add a second smaller sqlite database with the same tables as my pre-populated "baseline" database but with additional / complementary data such that Core Data will happily union the data from both databases and, ultimately, present to me as if ...

How i hide the header and footer of UITableView Controller?

Hi, I develop an application in which i selected the UITableView (only two row) having group style on the UIViewController with background image. But i want to be only those two row of the group table shold be displayed on the background image, and the header and footer of the table must be hide. How i do that? ...

XML parsing to plist iPhone SDK

Hi, guys. Could you, please, help me with parsing of this XML code: <?xml version="1.0" encoding="utf-8"?> <stuff> <parts> <part id='327'> <name>Logitech MX500</name> <serial>618163558491989</serial> <account>ASDALSKD</account> <number>987 789 456</number> <alarm>alarm...

Update BLOB (Image) field

Hello, How can i update image (blob) field in sqlite. here is the code which was i using. UIImage *imgSign = [[UIImage alloc] initWithData:[self StringToData:objSql.signature]]; imgsignature.image = imgSign; Imagedata = UIImageJPEGRepresentation(imgSign, 1.0); empId = createById; signatureImage = Imagedata; -(void)UpdateSignature { ...

NSStrings created without alloc, memory leaks

My app is riddled with memory leaks concerning NSString objects. Never, ever do I use alloc to create an NSString object, yet according to Instruments (used with a real device) the app leaks NSString objects. This happens around uses of stringByAppendingString. Example of code: NSString *documentsPathPlusSlash = [self.documentsPath stri...

XML parsing on new thread

Hi all, In my application, I want to fetch new xml data after user scrolls through tableview and pulls the first cell down. As the data is loaded in tableview in chronological order, the updated data will be shown before the first cell. I want to run this process on new thread, so what is the best option : Subclass NSThread and use i...

Password in Preferences ...

Hello everyone, I want to set the preferences of my application in the settings application. I have gone thru the documentation for creating preferences for iphone applications using settings.bundle . But the documentation only speaks of how to set the value and extract the values from the preferences. But in my settings application for...

warning: unable to read history from "/dev/null/.gdb_history":

I get this warning when I start debugging. Does anyone know why it's looking in /dev/null for my history. I know it's some path which was mis-set somewhere but I do not know which? Any help. How can I see which environment parameters are passed to GDB by XCode? ...

iPhone animation: how do I animate the filling up of an area?

Consider a circle. Now consider a radius of the circle, drawn from the center of the circle towards the right. Now imagine that the radius is rotating about the center of the circle, sweeping out an area as it rotates. My problem is: I want to use iPhone's animation techniques to fill up the swept out area with a different color from the...

Help each other build a pdf reader-viewer?

Does anybody that know a little bit about xcoding want to build a pdf reader-viewer together? I have found a good startingpoint with a reader in a uiwebview. What needs to be done is some navigation to step between the pdf pages. I dont know much xcoding since I build most in uiwebviews, but I know a bit about designing and user navigat...

iphone localization: retrieving a different file

Hi, i have an app that i have to localize. I am already localizing the nibs and some texts, i just have a doubt. I need to pull a plist from the bundle which contains some texts, for the other languages i would have other plists. How can i accomplish the loading of them in a nice simple way. My initial though is to have a text.plist , ...

Determine which app store my application was downloaded from?

is it possible to determine the specific country app store my application was downloaded from? I would like to distinguish if a user downloaded my application from the us app store vs. the canada app store? Not interested in locale settings but the actual store the app came from. ...

Loading multiple images in sequence on iPad

I'm working on an application that talks home to a server and retrieves some data with image URL's embedded in it. I want to display those images on the view, and am getting them like so: UIImageView *ivAvatar = [[UIImageView alloc] initWithImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:self.avatarUrl]]...

Managing NSXMLParser loaded data across the application.

I have an xml file that I need to load. This xml file holds data that needs to be accessed by a few classes. I'm wondering what the best approach would be to deal with this. Basically I need a way to keep the data centralized and allow various classes to access it. Either that or have each class re-parse the xml file for the data it ...

iPhone universal app. MoviePlayer.framwork problem.

I have application based on 3.0 iPhone OS SDK One of tasks is playing video (I use MPMoviePlayerController for this task) Now I try to make universal app working on both 3.0 and 3.2 OS I did all steps described in apple documentation: Upgrade Current Target for iPad; make run-time checking for symbols using [[UIDevice currentDevice] res...

How to make text in a UITableViewCell wordwrap?

I have a grouped UITableView with a few sections. The text in some of the cells can get quite long, I was wondering how I could make the text word-wrap? ...

I want to download sdk for iphone app

I want to download sdk for iphone app,i am trying to register in apple dev center but they ask company name i dont have any company name ,Is there any way to download without register? ...

What does the -all_load linker flag do?

I can't find anywhere what the -all_load flag do when compiling Objective-C code. I have some issues uploading binaries to Apple, the they say it's because I didn't use this flag, but my code compiles even without it. Can some one help me with that? Thanks ...