iphone

object not getting released in iphone

i m writing this code in my code to store the data in database.. Search *objSearchDetail = [[Search alloc] init]; objSearchDetail = [xmlResponseDetail objectAtIndex:i]; sql = "INSERT INTO tblsearchdetail(tblrecentsearch_id,name,address,email,url,street,postcode,city,telephone,mobile) VALUES(?,?,?,?,?,?,?,?,?,?)"; ...

XCode iPhone OS Deployment Target Tool

Problem I'm currently stuck trying to figure out what "iPhone OS Deployment Target" setting to use. I do not want to write conditional code right now, so I'd like the lowest version that runs my application fine. At first I thought it would be 2.0 as I wasn't using any 3.0 features, but then i realized that AVAudioRecorder is a 3.0 API...

best parameter iphone/ffmpeg

Hi, What are better parameter to encode some image on iphone with ffmpeg?? I read that .mov and codec MJPEG are most speed really?? Now my program is very slow, with 1/5fps get a video with most low quality in 7 second. What is codec more speed? and your parameter? best regards ...

How to check a character is alphabet or integer.

Hi All, In my project i have string suppose NSString* str = @"$ 120.00"; From the above string i am getting every individual character, Now i have to get all integres in the string i.e, $ is not a integer so i dont want that, "1" is a integer i want that like this . How can i do that can any one help me Thank you ...

problem related email application

I want to send an email from my application whenever a user taps the SEND button of my view.I do not want to show the email interface to the user.All the fields needed for email will we filled via my application.So is there anyway to do this??? ...

object not getting released in iphone

NSString *strSql = @"select tblrecentsearch_id,xmlrequest,company,postcode,city,kilometer,date from tblrecentsearch"; returnValue = sqlite3_prepare_v2(database, [strSql UTF8String], -1, &selectStatement, NULL); if(returnValue == SQLITE_OK) { arrRecentSearch=[[NSMutableArray alloc] init]; while(sqlite3_step(selectStatement)==SQL...

ARM decompiler available for iPhone

Is there any iphone ARM based decompiler available? ...

UIButtonTypeRoundedRect as an accessoryView

Hello, I have a table view and I want to put a label on the right of each cell, so in - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath I'm having some code like this UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; button.titleLabel.text = @"title"; cell.accesso...

SQLite on the iPhone, strange linking errors

I've been reading through this tutorial for using a SQLite database within an iPhone app. This is great and I've got everything working nicely, in the Simulator. As soon as I build to device I get the following linker errors: ld: warning: in /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libgcc_s.1.dylib, missing required architecture ar...

What happens before applicationDidFinishLaunching is invoked?

I'm doing performance testing on my iphone app and I'm noticing that sometimes a good 3-4 secs elapse at startup before I start seeing my NSLogs from applicationDidFinishLaunching. I've optimized what happens once the code enters applicationDidFinishLaunching but I'm not sure how to optimize what goes on before that. I'm using a Defaul...

a Problem to pass a string between 2 view controller (iPhone)

my problem is quite simple, but as a beginner, I'm lost :D I have to view controller : view one call view 2 like this : self.FacebookTypeRequest =@"favoris"; FaceBookViewController *viewcontrol = [[FaceBookViewController alloc]initWithNibName:@"FaceBookViewController" bundle:[NSBundle mainBundle]]; viewcontrol.title = @"FaceBook"; ...

constructor in objective c

HI, I have create my iPhone apps but i have a problem. I have a classViewController where i have implemented my program. I must alloc 3 NSMutableArray but i don't want do it in a grapich methods. There isn't a constructor like java for my class? Thanks so much and sorry for my english XP // I want put it in a method like constructor jav...

problem with linked libraries or classes??

i recently finished one project..now when i create a new navigation project in xcode and try to run it in simulator the application crashes and error in debugger window shows that i am missing some classes which i had used in my previous project(not in this one) and in some cases it gives Couldn't register com.yourcompany.GuessGame...

Is it possible to use an image as the title of a UINavigationBar?

Hey. Is it possible to use an image as the title (text on the top) of the UINavigationBar? Thank you. ...

Interface Builder warnings

Hi all, I am getting an warning while building my source code as follows: /* com.apple.ibtool.document.warnings */ /Users/biranchi/Desktop/Hotlist v2.0/Classes/HLCheckinViewController.xib:6: warning: The separator style "Single Line Etched" is not supported on iPhone OS versions prior to 3.2. What is this error due to ? Thanks ...

draw text using coregraphics in iphone

Hi How to draw text on imageview using coregraphics in iphone ...

DrawRect in CPLayerHostingView?

0 Hi, i am using Core-plot . but when i declare the normal UIView as CPLayerHostingView,how can i handle drawRect of that view , i cant give another custom UIview name and write code in drawRect of that view?please any help to handle drawRect of CPLayerHostingView? ...

iPhone - dequeueReusableCellWithIdentifier usage

Hi, I'm working on a iPhone app which has a pretty large UITableView with data taken from the web, so I'm trying to optimize its creation and usage. I found out that dequeueReusableCellWithIdentifier is pretty useful, but after seeing many source codes using this, I'm wondering if the usage I make of this function is the good one. Her...

While i uploadImage on the facebook from Photo library it's orientation is changed on facebook?

I am new in the iphone.While i upload image from my native application to the Facebook it's Orientation is changed from portrait to Landscape so what should i do to stop this problem.Let me give some tips for that please Guide me. ...

IPhone: how to have read the linenumber/contents of a doc

hi, I want to read the line number like a word doc in my iphone application. I tried using the webUI controller for displaying the doc but could not find any ways for reading the contents/line number. Is there any widget using which i can read the contents/page of the page. TIA ...