iphone

iphone sdk - UITableView - cannot assign a table to the table view

hello, this is a part of my code. My application crashes when i try to load the view including the uitableview. i think there's a problem with the table i'm tryin to use but can't find it. help please gameTimingTable=[NSArray arrayWithObjects:@"2min + 10sec/coup",@"1min + 15sec/coup",@"5min",nil]; declared in .h as NSArray *game...

Draw a text around the circle.

How i can draw a text around the border of a circle? ...

register device at run time

In the App ID section of the Program Portal, locate the App ID you wish to use with the Apple Push Notification service. Only App IDs with a specific bundle ID can be used with the APNs. You cannot use a “wild-card” application ID. You must see “Available” under the Apple Push Notification service column to register this App ID and conf...

image upload in html page

I am using the following code to upload an image to a web server <form name="uploadFile" action="upload.php" method="post" enctype="multipart/form-data" onSubmit="return validate();"> <input type="hidden" name="choice" value="upload"> <table align="center"> <tr> <td><span style="color:red;font-weight:bold">Upload files</span></td><td...

Can Xcode build against older versions of frameworks, statically?

Some MP3 files can't be opened by CoreAudio in OS X and iPhone OS 3.x. This was a bug that I submitted to Apple and has been fixed in 10.6.2. Unfortunately, I must still support iPhone OS 3.x, so I need to test for these files that mess up CoreAudio. I check them with a simple command line tool that tries AudioFileOpenURL and returns > ...

how to adjust wrap text no. of lines for the uitable cell height in iphone?

Hi, In my Iphone application,the width of the text line is increased than the width of the device width.but how to devide the cell height based on the wrap text lines? so that the no. of lines should adjust into the cell height. if anybody has any solution or any other source code or any other usefullink,which would be apreciated. Tha...

How can I copy a MOBI book onto an iPod touch so it can be read by the Kindle reader app?

Is it possible to copy MOBI files onto an iPod touch? Can such files be read by the Kindle reader App? I am reformatting a friend's novel so that it is readable on a Kindle. The ultimate goal is to sell it via the Amazon Kindle store. However, I think it prudent for the author to have a chance to preview my conversion work so that she ...

is it possible to open the safari browser from my application instead of using a UIWebview component

Does anyone know if it's possible to open the safari browser with a static link , instead of using a UIWebview component. If so how can i realize this. ...

How to add a label in a settings screen

As a picture says more than a thousand words: Any help on how to add descriptive labels to a settings pane would be highly appreciated! I should point out that I want to do this to be in the iPhone-App settings that are in the Settings menu of the iPhone (outside the App). Example label: iPhone -> Settings -> Safari -> Fraud Warning...

What is the best practice to store username and password on the iPhone?

Is there a best practice way to store username and password on the iPhone? I am looking for something that is obviously secure but will also keep the info between app updates. ...

Why do I get asked twice to use GPS in my iPhone web application

I wrote a very small web application that sends your GPS coordinates to a script. If I load the site in Safari on the iPhone, it asks if it can use the GPS coordinates, and if I click yes, it sends the data. If I add a bookmark to the home screen so that it can run more like an application, when the code reaches navigator.geolocation.g...

iPhone Telephone App -> Recents -> All/Missed Animation

iPhone Telephone App -> Recents -> All/Missed Animation How can I implement that cell adding/removing animation in my own UITableView? I tried the following: [tableController.aTable beginUpdates]; [tableController.aTable deleteSections:self.sectionIndexes withRowAnimation:UITableViewRowAnimationFade]; [tableController.aTable deleteRowsA...

Localizing an iPhone application

Hello fellow developers, I developed a namedays and birthdays reminder application called Eortes. There is also a free version of it called Eorteslite. The language as well as the namedays are in greek. More info here: http://sites.google.com/site/eortesapp/ I would like to localize these applications in other languages as well. 1) Wher...

Cocoa-Touch: NSDateComponents crashes on releasing a fresh instance

I have: NSDate *d = [[NSDate alloc] init]; unsigned unitFlags = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit; NSDateComponents *dc = [calendar components:unitFlags fromDate:d]; // doing something with dc.day, dc.month, dc.year [dc release]; [d release]; I've tried removing the "doing something.. part", just did a get a...

Does NSLog executes in ipod / iphone ?

Hi, Does NSLog executes in iPod/iPhone ? i have googled it .. could'nt find anything.. ...

Trouble Finding a Memory Leak

Hey everyone, i am having trouble finding a memory leak. all off my retain counts = 0 when i dealloc them but still I am flagging up a leak from the following bit of code: - (GKSession *) peerPickerController:(GKPeerPickerController *)picker sessionForConnectionType:(GKPeerPickerConnectionType)type { inSession = [[GKSession alloc] initW...

Hittest event problem

Hi all, I am developing an application for iPhone which contains a series of views with webview .These views are placed in a scroll view .Now my problem is that i need to scroll the scroll view horizontally to move to the next view ,also i need to scroll the webview vertically to view its contents .I used "hittest" event of webview to c...

NSArray with C types?

Hi, I am wondering whether it's possible to use an NSArray/NSMuatbleArray with C types as elements, namely CGLayerRef? If adding CGLayerRef objects to the NSMutableArray the code compiles but a warning is thrown: warning: passing argument 1 of 'objectForKey:' makes pointer from integer without a cast Thus my question: How can...

Automate the "Add to Home Page" feature for an iPhone Web App

An iPhone WebApp can be added to the start buttons on the home pages of an iPhone. This is done by pressing "Add to Home Page" within a browser page. I would like to have something that would prompt the user to let them do this via JavaScript. Is this possible? ...

how to add NavigationBar with Editbutton on left to the Uitable In Iphone?

Hi, In my iphone application i have added the Uitable view.While launching the application the table is showing the No. of rows which i want.Now i want to add the Navigation bar to the UiTable,also i want to add the edit button on the left side of the navigation bar. How to add the Navigation bar in the UiTable view in iphone?I dont wa...