iphone-simulator

Release build loading cached files

For a reason unknown to me, the Release version of my application has started loading cached static files. If i build in debug mode all is well and it loads the correct most recent files, this occurs on the device and inside the simulator. ...

UIDocumentInteractionController not working in iPad Simulator (XCode 3.2.3)

The UIDocumentInteractionController appears to be non-functional in iPad Simulator ("iPhone Simulator" version 4.0, shipping with XCode 3.2.3, using iOS Version 3.2). I have a simple sample code presenting a PDF preview using UIDocumentInteractionController. It works on the device. On iPad presentPreview just returns NO, the UIDocument...

Use customized font in iphone app, failed to launch the simulator!

I want to apply my customized font in iPhone app. So I did as these steps, add customized.ttf into Xcode project/Resources add "Fonts provided by application" in plist with a pair of key/value like this - item 0/customized.ttf update font of label's text like this - lable.font = [UIFont fontWithName:@"customized" size:17]; But, it do...

Setting Background image in simulator home-screen

Hey, I was scratching my brains over something when this popped in my mind. Can we set the simulator's home-screen background image to an image of our choice. Case in point is x-code 3.2.2 simulator 3.1.3. ...

Problem regarding timer,device and simulator

HI Frends there is a problem regarding alert and timer. The problem is: timer1 = [NSTimer scheduledTimerWithTimeInterval:1.0/30 target:self selector:@selector(Loop1) userInfo:nil repeats:YES]; timer2 = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(timrClock) userInfo:nil repeats:YES]; -(void) tim...

Pinching works great in Simulator, but doesn't work at all on device

Has anybody come across this problem? I have created an UIScrollView of images, much like the Camera Roll. Each image can be pinched to zoom in and out. Got my code working great on the simulator. I put the code on my device (both an iPhone and an iPod Touch) and nothing. The images don't pinch, nothing happens. Am I missing someth...

Resign First Responder on ScrollView Touch

How can I hide the keyboard on ScrollView touch event... Scenario is like that... ->View ->ScrollView -->Textfield I want to hide the keyboard on touch of scrollView. I tried to override the class for scrollview,but still i can't do it. Please help me with Code.... ...

app crashing on device

the app I've installed on an iPhone 3G device periodically crashes. I'm wondering if it's the device or the code. the code works fine on the simulator. I have other apps from the app store that do the same thing. e.g. the stackoverflow app - whenever I do a search the app crashes. I've even had the iPod app crash too. I've restored th...

Editing the iPhone Simulator hosts file

Hi, is it possible to edit the hosts file of the iPhone simulator? I'm working on a REST API and I need to be able to access my local site using a correct domain (e.g. http://api.local.com) ...

How to know the apps installed in iPhone

I am developing an application in which i need to find the apps which are already installed in iphone device such as Skype, facebook. I need to check it. Please give me code snippet if possible otherwise a link to get the solution. Is it possible or not. If this is possible, then how to disable the app also... Thanks in advance...... ...

iphone app run in the simulator but not on the device

Hi, I am trying to run the Facebook DemoApp on my iphone and I get the following errors (it works without errors on the simulator) Please help me ***************************** Build DemoApp of project DemoApp with configuration Debug Ld build/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/armv6/DemoApp normal armv6 cd /U...

iPhone Simulator 3.0

Is it possible to test my app in the iPhone Simulator w/ the 3.0 SDK. The only options that I currently have available are 3.2 (iPad) & 4.0 (iphone). I know I could buy a iPod Touch w/ 3.0 off eBay or something but I'd really like to avoid spending money if it's possible to get this working in the simulator. ...

CJSONDeserializer deserializer

Hi.. I hve code like this: NSDictionary * dict = [[CJSONDeserializer deserializer] deserializeAsDictionary:jsonData error:&error]; i hve 2 php calling method coding is same for both. it retrieves for 1st php where as 2nd is dict 0 pair key/value , also it shows jsonstring in console. i dont know why dict is null,may be CJSONDeserialize...

Dashcode CurrencyConverter App

I was working on CurrencyConverterApp in Dashcode by following this url. http://mobiforge.com/developing/story/build-web-apps-iphone-using-dashcode. But in code i am geting an error [Session started at 2010-09-08 14:55:29 +0530] mobile/main.js line 146: SyntaxError: Parse error mobile/index.html line 14: Can't find variable: load [Sess...

Unable to get SQLite for iPhone to use the database file which I supply and instead it creates a new one under Macintosh HD.

I am creating a SQLite3 database project in Xcode for Iphone. I am using the Simulator 3.1.2. Although I have attached the database file in the Resources group of the project and passing the name alright in the Appdelegate file and also creating a local editable copy using: // Copy the database from the package to the user's filesystem...

Can I get the simulator to rotate in slow motion?

Does anyone know if I can get the simulator to rotate in slow motion, so that I can analyze what's really going on with my weird looking rotation? ...

iphone simulator deny locating

how can i configure the Xcode simulator to NOT localize me. i want to check my locationManagerDidFail Methode. ...

XCode 3.2.4 iOS 4.1 (Final) and CoreData Crashes in Simulator

I've got 2 applications using Core Data with a sqlite persistent store. I've got a data loader routine that I run to populate the CoreData DB from csv files. During development, when my data changes I run the routine from the simulator to generate new databases and copy the new one into the project. This has been working quite well for...

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

App crashes on simulator. Works on iphone device

I recently upgraded to Xcode 3.2.4. and started experiencing strange behaviour. When I deploy my app onto the iPhone, it works fine. However, when I deploy this on the simulator for testing, the app does not even start on the screen and I receive the following error: [Session started at 2010-09-14 00:01:26 -0400.] GNU gdb 6.3.50-200...