iphone-sdk-3.0

iphone sdk install into linux

can i install iphone sdk in a linux platform? ...

UIWebView content size restrictions

I need to resize my UIWebView to content size, but when height of content size became more then 520 px, I always have this link text Is there any restrictions to content size of UIWebview? ...

invalid entitlements 0xE8008016 when I add the entitlements file

I'm trying to do ad hoc distribution. When I use XCode, the application installs fine on my phone. In preparation for ad hoc distribution, I created the default entitlements file, unchecked the get-task-allow box, added the entitlements file name to the code signing entitlements line, and tried to install on my phone. If I have the fi...

iPhone - UITableViewCell - Change NIB CustomCell by another NIB CustomCell when select a row ??

Hi. I have one UITableView with a custom cell loaded from a nib file, it works fine. When I select a row(named CustomCell1), It is possible to load another CustomCell2 and replace CustomCell1 with it? I guess I have to use didSelectRowAtIndexPath() but I don't know how. Any ideas? Thanks. ...

How to get the model of iPhone from code. (e.g. MC143C)

Hi, I need to get the iPhone model number from code. I can see the model number from my iPhone which is "MC143C", but when I am retrieving this by using code it is returning "iPhone". This is the code I am using to get the model number. NSLog(@"model: %@", [[UIDevice currentDevice] model]); Can anyone please help me to have the infor...

How to create svn folder in mac os x

hi, i am working on iphone project, i like to create an svn folder and link that one to my server I tried to run the below command fsp3s-MacBook-Pro:~ fsp3$ svnadmin create /ram/Code/SVN i got the below error svnadmin: Repository creation failed svnadmin: Could not create top-level directory svnadmin: Can't create directory '/ram/Co...

iphone OS 3.1.3 requires snow leopard upgrade

itunes asked me to upgrade my iphone's OS to 3.1.3, so I complied naively. then xcode told me that the latest iphone OS version it could support was 3.1.2. So I went to download a new version from https://developer.apple.com/iphone/index.action#downloads, xcode 3.2.2 with iphone SDK. but when i went to install that, i was told I neede...

Get a random name and number (same contact) from an iPhone users address book

Hi there, I have had only very little experience using the address book in the iPhone SDK. Does anyone have a code snippet or knows the code to get a persons name and number Eg 'Fred Smith - 027 292 2112". I haven't had much luck with the stuff I've tried. I want to achieve this programmatically, and not let the user decide (random...

Plist data OK in iPhone simulator but disappears after installation onto device

I am testing an application on a first-generation iPod running OS 3.1.3 with a tableview populated from a plist. The application works well on the simulator. Initially after installation onto the iPod for testing, the tableview was blank (scrollable lines present, but empty rows). After searching this site, I found one issue to be a case...

Reverse Lookup API for iPhone?

Hi all, I am developing an iPhone application where i have to implement reverse lookup for phone numbers. Is there any free API available for this? ...

NSMutableArray in appdelegate - EXEC_BAD_ACCESS

Hi, I'm trying to use a global array in the appdelegate as a quick fix for a demo I'm building. The relevant code for this .h file has the declaration { NSMutableArray *trnEntered; } @property (nonatomic, retain) NSMutableArray *trnEntered .m file has the following code - trnEntered = [[NSMutableArray alloc] init]; ...

MPMoviePlayer in Simulator

I upgraded my Xcode to 3.2.2 and SDK from 3.1.2 to 3.2. Now when I try to start a video in MPMoviePlayer from an URL it shows the first frame, but never starts playing, even with the "MoviePlayer Sample Application" from Apple. Does anyone have any idea what can cause this or had similiar problems? edit: strangely it works in 3.0, but ...

Where specifically do UIImageWriteToSavePhotosAlbum or UISaveVideoAtPathToSavedPhotosAlbum save their data?

Simple question I think and I'll be trying ot myself to see... When people talk about using UIImageWriteToSavePhotosAlbum or UISaveVideoAtPathToSavedPhotosAlbum is the "saved photos album" the "Camera Roll" or the "Photo Library" (or something else either than these two) that I see in the Photo Albums application? I don't think the doc m...

imagePickerController didFinishPickingImage not being called.

Hello, I am trying to save an image I take from a UIImagePickerController but I am not, well, being able to. This is the code I am trying to use to save the image: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo { UIImageWriteToSavedPhotosAl...

Completely uninstalling both versions of XCode

As usual I typed sudo Library/uninstall-devtools --mode=all It uninstalled the first version (Beta) properly. Tried the same thing on the older Stable Version which I have installed to "XCode Stable" Getting this error Use of uninitialized value $dir_name in substitution (s///) at Library/uninstall-devtools line 153. Use of uninitiali...

How can i send url with uploading picture or posing feed where u can see see comment, like,share options?

i am new in this field.i just want to send url while posting or uploadin pictures to the facebook post example for where u would see comment, like,share options...please i don't know about this so please help me. ...

Installing a application binary on iphone through mac?

I have a application binary (.app) file on my MacBook... I dont have the source file. Is there any possible way that I can install the application on my iPhone through my MacBook? ...

null cString error when reading database

Other then error due to missing database or record..how about the same error when documents folder is missing?i can't seems to find my documents folder where it store the database. i can't even launch my application at all..i've tried opening all my backup but none works! ...

FaceBook UIAlertView problem

My iPhone application connects to facebook . After i log in ,then appear one button named "Add feed to your wall". If i click it , pop a UIAlertView which ask "Yes" or "no". If "Yes", show the FBStreamDialog. But the BFStreamDialog just flash, then disappear. I don't know why. this is my code. First , click the button " Add feed to your...

Give me some Links which provides Tutorial related to iphone samples code and pdf ebooks.

Hi!I am new in the iphone Development.I want some useful blogs,pdf files,urls,Tutorials address etc..whatever gives me the information about iphone Development hints.please give me some reference regarding iphone Development...Thanks in Advance... ...