iphone

Is execution of ARM assembly in iPhone Simulator or Android Simulator possible?

Can anybody tell me if it is possible to execute programs using arm assembly language in the simulators? ...

How to check for existence of a key in plist?

Hey there. I am trying to check for the existence of a key in a plist file in xcode. My plist file has this structure. Root (Dictionary) +- Parent1 (Dictionary) - Key1 (Boolean) - Key2 (Boolean) - Key3 (Boolean) - Key4 (Boolean) +- Parent2 (Dictionary) - Key1 (Boolean) - Key2 (Boolean) Now i need to check if Key2 e...

Mapping textures to a sphere OpenGL ES

Hi All, Right i am just getting into OpenGL ES, and if i am honest it is very daunting. Just need a little guidance to point me in the right direction for my current challenge. I have some code that produces a 3D sphere, that has a texture mapped on to it (A Globe). I can get the touch co-ordinates on the sphere, and have a handle o...

iphone - handling view rotations

I'm creating a small UIView of size 320 pixels width and 120 pixels height. I'm using following code to add the view to top most window. baseview.frame = CGRectMake(0,20,320,120); UIWindow* window = [[UIApplication sharedApplication] keyWindow]; [window addSubview:baseView]; [window bringSubviewToFront:baseView]; The above code is...

How to obtain the actual string like it is displayed in the UITextField while the user is typing?

There is the UITextFieldDelegate protocol, which offers only one reasonable method to get notified about changes in the UITextField: - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string This method doesn't provide the actual string like it is visible in the textFi...

How to encode MP3 in MPEG elementary audio file?

Hello , How to encode MP3 in MPEG elementary audio file? i want to stream an MP3 audio file from web server to iPhone. As per the procedure shown in Apple document, http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/HTTPStreamingArchitecture/HTTPStreamingArchitecture.html#//apple_re...

iPhone - How to build a roulette like wheel?

I'm looking for a tutorial or any hint on how you would build a spinning wheel that can be rotated in both directions with your finger and snaps to specific points. I have looked into basic animations but stuck on the user interaction side. Any hint is highly appreciated. ...

UINavigationController - how to not animate when popping using backbutton?

This ought to be simple but I just can't figure this one out: The default behaviour when clicking the backbutton in a UINavigationController is that the current view gets popped with an animation. How can I override the default behaviour so that this transition is not animated? ...

Consuming a WCF Service with Monotouch via SSL (https) + basicHttpBinding

I'm currently writing a iphone app which will consume WCF services over a secure connection (SSL/https). I have managed to consume this service while testing locally via http. Now we want to make sure the service is secure, so we've set up a UAT server with a properly signed certificate to run our tests. We are using a custom binding...

iPhone UIGestures

Hi, I used UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleSingleTap:)]; [self.view addGestureRecognizer:singleTap]; - (void)handleSingleTap:(UIGestureRecognizer *)gestureRecognizer { UIView* view = gestureRecognizer.view; CGPoint loc = [gestureRecognizer locationI...

MPMoviePlayerController with UIPageControl?

Hi. i have a small movieplayer in a rectangle (20,20,300,200) in an ipadview. there is a UIpagedcontrol. while a movie plays i change the UIPage, but movieFinishedCallback notification cant be called. i think movieFinishedCallback notification is called when the movie completly finished. i want to stop movie and prepare the next movie wh...

How to create a custom UIView that shows 5 stars

I have a requirement for a UIView that displays stars similar to the way one can rate albums in iTunes on the Mac and iPhone. Does anyone know what it would involve to create this or whether one is available online? ...

iphone - publish app to app store using application loader

I've older version of iphone SDK OS 3.1.3 and I created an app using that. I prepared the app and ready for uploading to app store. In app store, I created new application and provided all the necessary details. Its now showing "Waiting for upload". As my Mac don't have iPhone SDK OS 3.2 and above, apple's "Application Loader" is not ins...

How to catch if an view or UITextField enters editing mode?

I've subclassed an UITextField and inside that, I need to know if the text field is in editing mode or not. When editing mode changes from YES/NO I need to get notified somehow. I tried to overwrite the setter of the editing property, but that doesn't seem to work. Is there anything else? ...

iPhone Application: Create an object every second

I'm creating an app that is basically an extension of a tutorial (I am very new to the app development world). The tutorial had a cyan coloured box moving around the screen to the point where you touch. What I did was change the background to an ImageView so it looks like the deep sea and I put a ImageView inside the cyan UIView to dis...

API to export your voicemails in iphone

Hello, I am currently limited to a certain amount of space for voicemails on my mobile phone. Once that space is full I can no longer have the ability to receive voicemails or have voicemails left for me. That is until I delete them or some of them. So I would like to know is it possible to export your voicemails to some external devi...

How does one post images to a profile with facebook connect?

I have facebook connect setup for an app but I am not sure how to allow the user to share images from within the app to the facebook connect profile? Is this possible, if so how does one do it? Thanks ...

Is it possible to extend an protocol like this?

I need to add some methods to the delegate protocol of my custom UITextField subclass. So I put this in the header: @protocol MyTextFieldDelegate (UITextFieldDelegate) - (void)textfieldDidSomething:(UITextField*)textField; @end Is this fine? ...

Disable time and AM/PM in UIdatepicker

how to Disable time and AM/PM column in UIdatepicker... ...

Why my application installed from cydia can't access core data?

Hi! I wrote an application which uses sqllite via coredata. It works fine on simulator or being installed on a device from xcode. I need to provide a test version of application to some other people like ui designer or QA. I decided to use Cydia for this task. Although it installs fine it can't initialize persistentStoreCoordinator: add...