iphone-simulator

uploading a i-phone application to apple store??

i have been trying to uplaod an application to apple store for 2 days now..first they said the provisioning profile was not right due to which i had to make a new one and upload it again now after that problem was solved while uploading the new binary it said the version was same with the previous minor version(1.0 - which someone else u...

Iphone simulator 4 text messaging issue

HI, How can you enable the emulator sdk 4 to send text message (sms)? I have created the interface, but it says "Text messaging is not enabled on this device" thanks ...

iPhone simulator for Windows

I would like an iPhone simulator for Windows. Something similar to this one here: http://css-tricks.com/video-screencasts/38-basics-tips-on-designing-for-the-iphone/ Note, this is NOT to test iPhone Apps... but rather, to test websites. I know I could just use a browser, but I was hoping for something with a bit more functionality ( sp...

app icon not showing in iphone simulator

I have a 57x57 PNG file in the root of my bundle (update: and added to my project), and the "Icon file" setting in my .plist file has the correct filename, but when the app is installed to the simulator, the icon is the default grey/white one. I've tried deleting my app from the simulator (both through the simulator and through rm -rf o...

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! ...

iphone simulator always needs clean and build!!

I always need to Build > Clean and Build and Run in order to check my new updated code. If i dose not clean first the simulator does not show the updated code. How to correct this behavior? ...

uitextview content disappear

textview content disappear whenever i clicked save button or whenever the photo album loads. textview content was saved but it will not appear unless i close and open my application again. what could be the problem? ...

Xcode, iPhone: How to detect simulator target at compile time?

I wonder if, when building an iPhone app for the Simulator, there are special DEFINEs added that allow me to conditionally compile for this case? If not, I'll have to add my own targets for this case, but I'd rather have an automatic way of detection. Alternatively, is there a dynamic way to know when my code runs on the Simulator, I m...

Rotation event + loading other view

Hi everybody I'm new to iphone programming so I've got a little question. Is there a way to trigger a 'rotationevent' when turning the device to left or right? I've tried a couple like orientationChanged: and willRotateToInterfaceOrientation:. I get no results when turning the device. Which actions do you have to take to catch an rot...

slideshow for images, prev, next buttons

Hi, I developed an application for my Image gallery.now, i need to make a slideshow for those images with Previous & Next buttons to switch between images. Do anyOne of you tried to develop with such functionality. Can any one of you provide me sample XCode project for my requirement?I would like to test it using iPhone-simulator. Any...

iPhone: Software Development And Distribution

I have a few quick questions about the iPhone software development. I did some research about the topic, but there are a few specific things I would like to ask here, because I will have to estimate the cost of the required hardware and software, before I am allowed to buy anything. I never did any Mac development nor have I ever owned a...

how to programmatically display version of target in iphone app/xcode

How can i programmatically get the value of the "target version" like in the image below. As seen in the Properties window of the target of my xcode project. I want to display this in the splash screen of my app so i know which version people are using? Hope this makes sense what i'm asking. ...

iPhone dev on Linux

Hi guyz, Actually I have read about that I can write Objective-C app on Linux (using GNUStep). But my question is, Am I will be able to develop completely iPhone app on Linux machine? Or I'll need eventually need to use Mac machine? Especially when I read that there are some some syntax diffs between NeXT/Apple and GCC (according to htt...

Xcode Simulator for iPhone 4 (960 x 640

Is there an iPhone4 simulator supporting the new RD 960x640 resolution included within the next release of the iPhone SDK / Xcode? much appreciated. Gary ...

Why is iphone Simulator not rendering HTML5 page correctly?

hello all, I have a page I am developing in .net using HTML5 intended for a WebView in an iphone App. The page looks just fine in Safari. When I load it in the iphone Simulator it is rendering as plain text, no styles or js loading. I thought it might be an issue with .net, but seeing as it works in Safari i am stumped. When I use the X...

Remotely Closing the App

I have a button in my UI and was wondering if you are able to close the app and exit to the homescreen if you press it. Thanks! ...

iPhone UITableView pane moves as a unit vs. scrolls

Hi, I have a UITable/View/Controller and it works peachy. Just one oddity. Case 1) Cell count in table * v-size of one cell > frame of UITableView Works as expected. Case 2) Cell count in table * v-size of one cell <= frame of UITableView If the user attempts to "scroll" the table (accidentally or because the last cell contains the...

Decimal numbers works in iPhone simulator but NOT on iPhone device

Hi everybody, I noticed a weird behaviour of iPhone OS when using decimal values. The simulator parse them from strings in a correct way but when I test the app on my iPhone it lose the decimal part. In particular, I store values in a dictionary that I retrieve in this way: Code: NSString *thickStr = [dictionary valueForKey:@"thicknes...

Audio plays well in iPhone simulator but not in iPhone

Hi all, I have an app that is nearly finished but encountered an annoying problem. In the app, I want to play a sound when I tap on some object, then the object disappears. This is the piece of code I used: In Object.h #import <UIKit/UIKit.h> #import <AudioToolbox/AudioServices.h> @interface Object: UIView { UIImageView *image; ...

iPhone app icon messes up on simulator 4.0

Greetings! I've been developing this app for the iPhone using sdk 3.1.2 the customized icon looks fine when using the 3.1.2 simulator (and earlier) however, it shows differently using the 4.0 simulator. is this a problem with the simulator? or does making customized icons work differently for iOS4? thank you and have a nice day :D ...