iphone

How UIView "drawRect" puts contents into it's "layer"?

Hi all, I have read lot of articles to use either "drawRect" or "drawLayer" functions for custom drawing. However, I haven't been able to make out how iOS or Cococa converts drawing placed in "drawRect" (UIView) to it's own layer (UIView.layer) contents? Urgent help required Regards Mohit ...

can we upgrade iphone sdk 3.1 to highrer level ?

can we upgrade iphone sdk 3.1 to highrer level ?so that i an use new released frameworks or i have to download latest sdk to use the new api ...

Build failed in xcode 3.2.3

Hi frends, I have upgraded my iphone sdk from 3.1.3 to 3.2.3. But now i have a problem. The project i m working on is not compiling in new sdk. I have changed the target info settings also i.e. base sdk is set to iphone device 4.0. I have follwing build error: Internal error occurred while creating dependency graph: ASSERTION FAILURE in...

is it possible to run single application in both android and iphone

hi this is mahesh. Is it possible to develop a single application that is able to run in both android and iphone.If can how can i done post some link. Thank you very much in advance ...

Detect address from UITextView and show it map on tap

There is an option in UITextView properties to detect address from the the text view text. However I am not able to do that. The text view is not in editable mode. Do you know how to detect address from text view? Is there a format that the address must have to be detected from the text view? ...

UIView animation

In the figure, what you see in "red" is another view that slides up once you click the first + button. This "red" view does not have a separate view controller. On every "+" button click, I want this view to slide up with a different element embedded in it. For instance, on the first "+" button click , I would like this red view to sli...

MapKit setRegion and addAnnotations crashes in 3.1.2 devices

Hi, I am using MapKit in my app and i find that the setRegion and addAnnotations methods crashes my app. But i am sure that its something wrong with by project settings or flags as by another MapKit app is running fine on the same devices. Is it something wrong with my flags? I am using a library and using -all_load in linker flags. M...

UITabbar CATransition Screen goes blank before push animation.

I'm making a TabBarApp. My first tab is a "main menu" (UINavigationController) some of the views in the menu is also available in the tabbar. I call [tabbarController setSelectedView:] instead of pushViewController when those spesific rows are selected. I want to use the same push animation as a NavigationController when calling [tab...

I have question related to hang of rootview

I have six views i'm using push and pop mechanism for going and coimng back to 1 or another view In each view's viewwillappear method my code is remove view from superview. that's how i reach directly from sixth view to 1 st view through this mechanism but when i click a home button of device on last screen at that time it loads 1 st vie...

how to make one row of an UITableView become text editable?

I hope to display one row of UITableView with property cell.accessoryType= UITableViewCellAccessoryDisclosureIndicator; if user touches/selects the row, it will display an UITextField for user to edit the text of this row. Is it possible? ...

how can i retrive images from local folder using xml to my app

hi i am new to iPhone.what i did is creating a local folder named images and retrieving the images from the folder.For that i am wrting code `UIImage imageNamed:@"image.jpg"`.But i need to get images using xml file dynamically how can i done this. pls post some code or link.Thank u very much in advance. ...

API to get network traffic info on iphone

Hi all, now i want to get some network traffic info on iphone, like realtime bytes in per second and so on, so does there any api can do such thing, any suggestion is appreciated. ...

angle in iphone sdk?

hi, how to calculate angle between two points in iphone sdk...? ...

Setting up lib haru in an iPhone project for pdf creation

Hey guys, has anyone ever setup lib haru on the iPhone and can tell me how to get it to work. I know there is a sample project on github (http://github.com/akisute/iPhonePDF) which uses the haru lib for creating a pdf. But I just can not figure out how to get the library to work. What I did so far: First I copied the support folder ...

Unable to get SQLite for iPhone to use the database file which I supply and instead it creates a new one under Macintosh HD.

I am creating a SQLite3 database project in Xcode for Iphone. I am using the Simulator 3.1.2. Although I have attached the database file in the Resources group of the project and passing the name alright in the Appdelegate file and also creating a local editable copy using: // Copy the database from the package to the user's filesystem...

How to make a RTA analyser in Iphone

Hi Guys I want to make a RTA for audio. I will try it by the aurioTouch sample code but i did not able to make that actual RTA, I want to make RTA on the basis of octave and 1/3 Octave. Please suggest me the right way. Thanks, KD ...

NSString not working

In my code I declared NSString object in .h and synthesized in .m , I m assigning it with string object in array . but its not working . when I print it on Log it display sometime CAlayer Class , some time shows NSCFString class object .some time shows UIDevicewhitedevicetype class how to solve this ? help... ...

How to integrate Picasa with iPhone?

I want to integrate picasa web album with iPhone, but I don't know how to implement. Please help. ...

Can't get user info from Facebook w/ oauth 2.0 for iphone

As soon as the user is logged in, I retrieve the user info using this code: [_facebook requestWithGraphPath:@"me" andDelegate:self]; It worked for the first few times, but it eventually returned an error. I thought it was a session thing since I have "offline_access" on my permissions. I logged out from Facebook and compiled again from...

Can I ignore this iphone warning?

Hi there I have this code: if([annotation respondsToSelector:@selector(tag)]){ disclosureButton.tag = [annotation tag]; } and I get the warning: '-tag' not found in protocol Fair enough, but I've created a new object with the protocol that has a synthesized int tag variable. EDIT: found why the app was crashing - not this...