iphone

Offline map using cloudmade

how can i implement offline map using cloudmade? is it possible with cloudemade? is there any sample code? Any help is appreciated! ...

How to programmatically detect iphone 4

Hey Guys, So I looked at this thread: http://stackoverflow.com/questions/3177634/iphone-how-do-i-detect-the-iphone-version But it doesn't answer how to look for iphone 4. Also, it seems like ugly code. Maybe there's an easier way? I'm also looking specifically for detecting iphone 4 in code. Any ideas? Thanks! ...

When I submit my app to the Apple app-store do they see my source code?

When I submit my app to the Apple app-store do they see my source code? ...

Change font size according to the settings in iphone..

Hi all, I'm trying to change the font size according to the setting changes. I used NSUserDefaults to keep the selected row as checked even if you relaunch the application. That is fine.. But when I'm going to change the font size in all pages according to that settings it is not changing immediately. It is changing if relaunch the app....

restrict duplicate entry,iphone

HI All, i am inserting , say name to sqlite, than showing it on tableview. But i want say restrict user to insert duplicate name. for first time data gets inserted perfectly, but when i insert it on second time, it again get inserted, thats what i want to prevent. HOw can i check if the value 'name' already exist in sqlite and show ...

How i can printf result like 0.0045

I only get this 1667785316 1667785316 1667785316 Float32 preferredBufferSize = 0.005; // 5 millis buffer UInt32 size = sizeof(preferredBufferSize); AudioSessionGetProperty(kAudioSessionProperty_CurrentHardwareIOBufferDuration, &size, &preferredBufferSize); printf("\n%d", kAudioSessionProperty_Cu...

water animation in iphone app

I want to show water flowing from one container to another in iphone app. Can some suggest me how to do it .. by open gl or by simply couple of images?? Plzz help me ...

why i can't install mobione on my pc .

this is the mobione,iPhone Emulator for Windows the error is : !SESSION 2010-09-11 17:19:34.359 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_21 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN Framework arguments: F:\MobiOne_1.0M9_Installer.exe...

iphone safari cannot cannot scroll normal webpage to bottom

i have a normal webpage with 960px width and, long height. but iphone safari able to scroll the page but cannot scroll until the end of the bottom of the page. i read that iphone using fixed position scroll. any workaround for a normal website to able to scroll until the bottom of the page? ...

iPhone development provisioning profile problem

I installed a new dvelopment provisioning profile for a new application, but keep on getting the following error wile trying to build the application: Error Domain=NSCocoaErrorDomain Code=257 UserInfo=0x200cdcea0 "The file “MyApp” couldn’t be opened because you don’t have permission to view it." Underlying Error=(Error Domain=NSPOSIXErr...

No provisioned iPhone OS device is connected. A write error occurred

Hi there, I am trying to deploy my app to my iphone through jailbreak means. i got this error: No provisioned iPhone OS device is connected. and in the organzier i got this error beside my device, amber colour: A write error occurred i have app sync 3.1. installed. my device is iphone 2g, 3.1.3(7E18). xcode active sdk is set to devi...

how can i animate image that moves up automatically

hi i am new to iphone. what i need is i want to display an image for example balloon. when ever i click the button the balloon automatically start moveing up vertically from bottom of the simulator to top of the simulator.While it reaches top of the simulator automatically it moves towards down.How can i done this.please post any relevan...

Sqlite3 on Iphone: Using Non-English Characters

Hi, I'm developing an Iphone application that uses non-english strings (Hebrew) in sqlite3 DB. However, the application only displays my data when using english strings! Values with hebrew characters returns null. I've tried adding hebrew strings through sqlite on the mac, in the terminal - but sqlite won't even recognize the charact...

distinct in sqlite,iphone

HOw to use DISTICT in select Quoery in SQLITE for iphone.? is DISTINCT is supported in iPhone ? ...

iphone send photo from gallery

I'm trying to send mail with photo as an attachment. There are 2 options to select a photo. 1. To pick from photo gallery and attach to mail 2. To take a snap using camera and attach to mail. I'm using iPhone 4 OS and I couldn't find any correct piece of that that will be helpful to me. Can some one suggest me some tutorials or some code...

grouped table view like iphone contacts

I'm new to Xcode and I'm trying to create an app which has a tableview. Ideally it should look pretty similar to the standard contacts app on iphone/ipod touch. So the tableview should show the names of my friends, and the detail view should show address, email, phone number and a picture etc. The only difference is that the user shouldn...

Centering Subviews in UITableViewCell within grouped TableView

Hi Folks, I'm trying to figure out how to place a subview to a custom UITableViewCell with centered position. As stated in the documentation (Customizing Cells) one should "...add subviews to the contentView property of the cell object or ...". As I noticed it works fine with UITableViewStylePlain. In UITableViewStyleGrouped tables, sub...

Present a UIView over a view

How can I make a custom view in iOS which appears above the existing view,but smaller? It should be like UIAlertView, but taken from a .xib file. After user taps a certain button, the small view vanishes and the normal view appears. If this is posiible, how can I do it? And.. if it's not hard for you, please, include code. Thanks in ad...

UINavigationBar refuses to show in Modal View Controller

Hi All I am loading a Modal view controller using the following code in my RootViewController: [self.navigationController presentModalViewController:accountViewController animated:YES]; In the accountViewController xib file, I have set a navigation bar. My MainWindow.xib and RootViewController.xib also have the navigation bar setup c...

Variable in a Variable iPhone?

Hi For my iPhone app in objective-c is it possible, and if so how can I make a variable inside a variable? For example, I have one named Var1 and then I can combine it with Var2. Lets say Var2 is a number, so it displays Var1 like Var11, the second one being Var2. Make sense? Anyway if Im not making sense, could you let me know how a v...