iphone

NSDecimalNumber zeros following decimal point (iPhone SDK)

Hi, I have the following code (...) numberStyle = [NSDecimalNumberHandler decimalNumberHandlerWithRoundingMode:NSRoundPlain scale:2 raiseOnExactness:NO raiseOnOverflow:NO raiseOnUnderflow:NO raiseOnDivideByZero:NO]; strThree = textFi...

Invoking a http post URL from iphone using .net web service

Hi all, I need to call a url from my iphone when i tap on a button. The url is taking a value from the UITextField as argument, also it is using a POST method to invoke the webservice. how do i use the URL in my iphone. I had done the same with GET method. but for that i created a url string with the value from the textfield. it cant b...

Images appear at wrong position during view animation

Hi Guys, I have got a problem. I have made view including a scrollview. In the scrollview I am adding lottery balls with labels. I have setup the animation between views and when this view with the balls animated, the balls are at the same position (left upper corner of the scrollview), until the animation is fully finished. Than the b...

UIButtons unresponsive when put along with EAGLView

In my iPhone game, I have an EAGLView where OpenGL rendering happens. Above it I have 2 UIButtons placed in the XIB. Once the EAGLView Viewcontroller is pushed, for the first few seconds, the UIButtons are unresponsive. But the OpenGL rendering happens seamlessly. Has anyone suffered from a similar problem ? Any pointers on what could b...

presentModalViewController viewDidLoad not being called

I have an event which calls a view to appear, but the -viewdidload event isn't appearing as expected each time it's called. Here's the method I use to call it... [self presentModalViewController:addItemViewController animated:YES]; then inside the addItemViewController, the method is - (void)viewDidLoad { NSLog(@"alright, lad!");...

Hidden status bar with three20 framework

Hi all, I am using a TTPhotoViewController and have hidden the status bar. Everything works fine with one exception. Now that the status bar is hidden, when I tap the ime the navbar and toolbar doesn't disappear. They remain on the screen and I cannot see the full size image. I hide the statusbar using: - (void)showBars:(BOOL)show anima...

disable add fields option while editing contacts in iphone

Hello folks, I have a query regarding AddressBookUI ABPersonViewController *personController=[[ABPersonViewController alloc] init]; ABAddressBookRef addressBook=ABAddressBookCreate(); //ABRecordRef aRecord=ABAddressBookGetPersonWithRecordID(addressBook, 25); personController.displayedPerson=ABAddressBookGetPersonWithRecordID(a...

Change thumbs size in TTThumbsViewController

Does anybody know if there is a way to increase the size of the images on the grid in a TTThumbsViewController in the three20 framework? Thanks ...

how to add UIView on Camera?

I want to add one view on to the camera.I have use below code for this.But not working. picker.sourceType = UIImagePickerControllerSourceTypeCamera; //or album [picker.cameraOverlayView addSubview:self.view]; [self presentModalViewController:picker animated:NO]; How it is possible?Anything is wrong in my code? ...

UIImage to byte array

Hi Frineds, I am new in iPhone development. I want to convert an Image to Byte array. I tried to do this.But i didn't get any result. Please give me guideline for this problem. or provide me some tutorial regarding this problem... Thanks in Advance, Pathik Patel ...

Is there a way to get paths of all the images of CAmera roll

Hi, Is there any way to create an array or something having paths of all the images stored in camera roll. Please enlighten me on this. Thnx in advance ...

iPhone + application crash on device

Hello, I have developed one iPhone application with Snow Leopard (10.6.2) and Xcode (3.2.1). As many of us know that in this new version of Xcode we get facility of Build and Analyze (to check memory leaks and other issues). When I build and analyze my application, it gives me no error / no warnings. My application runs fine on simula...

[Monotouch] Webservice access error from monotouch (iphone debugging)

The application with webservice (C#) access works well on MAC (iphone simulator), but doesn't work on iphone (release and debug mode). It happens when I tryed to create a new webservice instance. "YNSMS.ynSMSws.Service1 wsSMS = new YNSMS.ynSMSws.Service1();" Could it be a Monotouch iphone runtime bug ? Is there any way to solve it? ...

is there a way to view via code the iphone sms archive?

is there a way to view via code the iphone sms archive and sort them in an app? ...

iPhone CAAnimation problem

Hi, I am getting the following errors when I try to use the CAAnimation constants, in a program I just wrote. I am able to run the "ViewTransitions" example (from the apple library, http://developer.apple.com/iphone/library/samplecode/ViewTransitions/index.html), and I do not see anything that has been done there, that I haven't :mad:....

addSubview outside resized frame

Hi guys. I've coded a "generic" ads management class for all my applications and i have an issue. This class can add an ads view to any view of my application, randomly; in order to do so, my idea is to resize the frame of my current view to reduce its height (let's say 50 pixels less) and add my ads view in the free space i created. Th...

iphone code - how to create the update sign in the tab bar ?

how can i create the update sign (the red one) in the tab bar ? ...

Problem with onsubmit in DashCode for iPhone web app

I'm new to the world of webdevelopment, but I'm giving it a try! I'm building an iPhone web app to acces your MobileMe Gallery. As I'm working with DashCode, I added a searchfield to enter a username, so if you enter your username and press return, he will open http://gallery.me.com/username. I used to do this using an onsubmit, but I c...

Blending Three Images into Graphics Context Using Alpha Blend Mode kBlendModeOverlay

Does kCGBlendModeOverlay not work exactly like Photoshop's Overlay blending mode? I'm trying to overlay three images into a graphic context via: [uiimageGreen drawAtPoint:CGPointMake(x, y) blendMode:kCGBlendModeOverlay alpha:1.0]; [uiimageRed drawAtPoint:CGPointMake(x, y) blendMode:kCGBlendModeOverlay alpha:1.0]; [uiimageBlue drawAtPoin...

How can I create a photo slider on iPhone Safari with jQuery?

I'd like to create an product image viewer for an iPhone version of an ecommerce site, and have it behave something like the Photos app. Ideally, you would be able to slide images to move back and forth in the product image gallery. This will all be done in mobile Safari. I did a little experimenting with jqTouch, but its doesn't loo...