iphone-simulator

Objective-C++ compiles for iPhone, but not simulator

I have a C++ library I want to add to my iphone project. In one header file I declare @interface a { cppvirtualclass V; } This compiles fine for the iPhone device with Release settings. However it refuses to compile for the Simulator with or without debug info. It give the error error: type 'V' has virtual member functions. Is...

Why in landscape orientation in simulator all the subviews appear out of order?

I was doing a sample app in ipad. I added about 4 to 5 imageviews to the left side of the view vertically. This view will appear when we select the corresponding entry in the splitviewcontroller. In ipad simulator too, all the images were loading and all are working fine in portrait orientation. But when I rotate the simulator to lands...

In App SMS in iPhone SDK 4.0

Hi there, Does any one know how to implement In App SMS functionality in iPhone SDK 4.0 Sandy ...

Adding Video to iPad Simulator

I'm trying to get some video added to my iPad 3.2 simulator's library, so I can test my app. I converted a video using QuickTime, called it VID_0001.MOV, and copied it to the Library/Application Support/iPhone Simulator/3.2/Media/DCIM/APPLE100 folder. This video worked for the iPhone simulator, but it's not working on the 3.2 (iPad) s...

NSUserDefaults always returns 0, in Simulator and Device

I have a settings bundle in my iPhone app, with the following PList: Type: PSMultiValueSpecifier Title: Within (Kilometres) DefaultValue: Number: 1 Titles: Array: Item 1: Number: 1 Item 2: Number: 2 Values: Array: Item 1: Number: 1 Item 2: Number: 2 Key: String: km Then in my code i have: NSUserDefaults *defaults = [...

Print a copy of my app in the iPhone Simulator?

Ok, I give up... what's the quickest way to print a hardcopy (paper) of my app running in the iPhone Simulator? ...

How to create an array of images?

I need to create an array of images in which, every time I tap, a new image gets placed at "view". And at some particular duration of time, I need to clear that array of images so that all the images gets cleared from the view. For example on button click I want to clear all the images which are on the view, through taps, should be cl...

Array of ImageView

hi, I m making a Shooting game, in that I want an array of ImageViews , so that for each new level the bullets can be Disappear and the view will be shown from the initial level. SO if Any one know how to store imageviews in an array kindly tell me... regards viral.. ...

iPhone App made using Xcode 3.2.3 does not run on 3.1.3 OS

I can't figure this out and I thought that someone might run through the same thing. I have Xcode 3.2.3 (Pre Release with OS 4 beta) and I started to create my application, after the final touches and everything worked ok, I changed the Simulator - 4.0 to Simulator - 3.1.3 (latest iPhone OS) and I could never start my app again :-( Doe...

iPhone Simulator locks up immediately upon Build / Run

I'm having a problem getting my MacBook set up to build iPhone *apps* in xCode. The iPhone Simulator locks up and shows the "spinning circle" busy icon. I've tried everything I can think of, including resetting the simulator tried all of the different hardware options tried the two debug build choices in xCode. uninstalling the SDK a...

Instruments - "Target failed to run"

I'm running iPhone OS 3.1.3 on the device and I can run my App in debug mode on the device. I downloaded and installed the xcode_3.2.2_and_iphone_sdk_3.2_final.dmg twice, without any luck. I appreciated any hints. ...

Can you test Web Apps on Phone Emulators

Is it possible to test a web app in an android emulator and an iphone emulator? Is it possible to direct the browser to a url within a mobile emulator? ...

Why is there a black bar on top of my iPhone/iPad app when I run it on the iPhone simulator?

Whenever I run my iPhone / iPad app in the iPhone simulator, a black bar appears along the top of the screen which I can't seem to get rid of. On the iPad simulator, however, it looks fine and works great. Also tapping one of the buttons seems to cause a white screen to appear instead of the view on the iPhone, while on the iPad it doesn...

any mac mini for iphone development

are all mac minis possible (if not really suitable, like used 1.4 GHz mac mini) feasible for xcode simulator of iphone devel.? Are all mac minis intel-based? ...

How do I put a background image on a text area (IN THE IPAD)

How do I put a template'd background image on a text area? ...

UIScrollView on iPad isnt working

Hi There, can anyone tell me what I am doing wrong. I am trying to load a UIScrollView in a UIView. I am using IB to load the items and what not. the come I am using in the ViewController isnt working. :( I have it under the ViewDidLoad - (void)viewDidLoad { [scrollView setScrollEnabled:YES]; [scrollView setContentSize:CGSizeMake(768, 1...

iPhone virtual keyboard bug

In iPhone virtual keyboard... 1.Change the alphabetical keypad view to numerical view. 2.Tap on the single quote(') button the view changes to alphabetical. 3.In this view tapping on space twice displays a fullstop. I don't know whether it is apple bug or feature, How to fix this issue through coding? Thanks, ...

Strange behaviour of MKMapView.SelectedAnnotations with MonoTouch

In short, my problem is as follows: I am adding somem custom annotations on a MKMapVIew. I want to be able to hide selected annotations when i move the map. To do that, i used the method of intercepting map touches as described here: http://stackoverflow.com/questions/1049889/how-to-intercept-touches-events-on-a-mkmapview-or-uiwebview-o...

iPhone app not making file in device but works in simulator

I have an app and it stores data to a .plist file in the resources group in Xcode (if that matters). And whenever I run it on the simulator it works perfectly with the file. On the iPhone, however, it doesn't seem to be interacting with the file. Thanks in advance! ...

XCode 3.2 - make emulator to open in iPhone mode

I've installed XCode 3.2 on top of Snow Leopard 10.6.2. When trying to "build and run" an application created from XCode template, the emulator is always opened in iPad mode. When choosing "iPhone" from the emulator menu, it changes its look but next time it is opened as iPad again. How to cause the emulator to run in iPhone mode ? ...