We sending data over UDP from the iPhone, sometimes, but not always, in response to our first send() of UDP data, we are getting back a -1 return code and errno set to 1 (EPERM / operation not permitted). The EPERM result for send(), sendto() and sendmsg() is not documented in the man pages as a return result from those functions.
Has a...
I can click on the field, and it momentarily turns blue, but those events plus makeFirstResponder together do not cause the keyboard to show on a UITextField.
Plain vanilla code follows; I include it so others can discern what is NOT there and therefore what, presumably, with solve the problem.
I put in leading spaces to format this qu...
Especially for the iPhone
...
Hi all ! I'm new in objective C and iphone and it's hard from me.
How do you get the size of an NSarray ? ? ? and print it in the console using NSLog ?
thanks now it's basic but hard for me.
...
In porting my app to a universal iPhone / iPad app, the xibs I created by using Interface Builder's "Create iPad Version" will not link to the project properly: They don't pick up on classes and images from the project file.
IB tells me that "there is no xcode project associated with this document" with a gray light in the status bar. Y...
Hi,
I am trying to encrypt an NSString in Objective C on the iPhone. At least I wan't to get a string like "TmsbDaNG64lI8wC6NLhXOGvfu2IjLGuEwc0CzoSHnrs=" when I encode "us=foo;pw=bar;pwAlg=false;" by using this key: "testtest".
My problem for now is, that CCCrypt always returns "4300 - Parameter error" and I have no more idea why.
Thi...
Hi there!
I have a UITextField that I would like to enable auto completion on by:
[self.textView setAutocorrectionType:UITextAutocorrectionTypeYes];
This works normally, except when I give the UITextView a delegate. When a delegate is set, auto complete just stops working. The delegate has only the following method:
- (void)textView...
This is for an ASP.NET MVC application. For browser based access on my normal controllers, I'm using standard forms authentication and auth cookies.
My question is how I do the same for an iPhone application. I have a set of RESTful controllers that the iPhone application uses directly, but I'm not sure how to go about authentication....
I have a table that I created within xcode so there is no nib file in this case. I want to make my table into the 'Grouped' style but im not sure how.
I think it has somthing to do with the method below, the problem is Im not really sure how to call it, I do understand how methods work I'm just not too sure on where to start with this o...
I've been having some issues with calling -becomeFirstResponder on a UITextField contained with a view controller that is presented modally. I call this method in the modal view controller's -viewDidLoad method so that the keyboard is immediately displayed. What I expected is for both the keyboard and the modal view controller to animate...
I am having problems with adding values to dates and also getting differences between dates.
The dates and components calculated are incorrect.
So for adding, if I add 1.5 months, I only get 1 month, however if I add any whole number ie (1 or 2 or 3 and etc) it calculates correctly.
Float32 addAmount = 1.5;
NSDateComponents *component...
Hey everyone,
So i'm trying to use GameKit along with Cocos2D so that when a user clicks on the multiplayer menu item it will display the GKPeerPickerController. I'm however, running into some snags. It doesn't seem to want to compile. However, it doesn't give me an error inside of the code that's in my selector. Anyways here's the code...
While the user is still in UIImagePickerController, I'd like to be able to get a UIImage representation of the image in the camera, make some changes to the image, and then display the altered image instead of the image coming directly from the camera.
How can I do this? I tried setting a timer and calling takePicture, but calling it s...
Using XCode's Navigational-based application project type, where is the code that loads the table view that is there by default?
...
Hi Guys
I am new iPhone programer.
how to add dynamic libraries in iphone xcode, I want to add the lib: "libcrypto.dylib" ( in /usr/lib ). Please guide me.
Thank you.
...
I have a PNG file in a UIImageView, and next to that I have an EAGLView which displays the continuation of that same image (long story) as a texture, carved from the same original PNG. The point is, that these images, which should match up flawlessly, actually have somewhat differing color saturation.
Normally I'd blame my handling of t...
Hi ,
I am developing an aplication which needs to download some data from webserver.So i need to first ping to the web server to check whether the service is available after checking the internet connectivity .I used the following code to check server availability
` BOOL success = NO;
const char *host_name = [@"http://192.168.1.7:...
I have a custom UITableViewCell which has an image & and some text. When entering editing mode, I would like the image to fade out & move offscreen to the left. When & how do I implement this code? I tried putting an animation block in willTransitionToState: but the image simply jumps offscreen w/ no animation.
...
I am using store kit api for an application on iphone. I would like to know if it is possible to enable Malloc Guard while running on the device and see if there are any memory leaks. Could someone let me know if it is possible?
...
there are sample code for image processing (like brightness hue etc) in apple same code.In that there is default image using.I have implement select image from the photo library.but in that case image is streched.i dont want stresh image.can u give me idea?
...