I have an iOS app that runs this code:
userDict = [[NSDictionary alloc] initWithDictionary:[SantiappsHelper fetchInfoForUDID:@"1"]];
which goes to call this class:
(NSDictionary*)fetchInfoForUDID:(NSString *)udid{
NSString *urlString = [NSString stringWithFormat:@"http://www.server.com/app/getusers.php"];
NSLog(@"This is the urlStri...
I'm putting an image into a CALayer that could be irregularly transparent:
theCardLayer.front = [CALayer layer];
theCardLayer.front.contents = (id)[cardDrawing CGImage];
In other words, it might be a square filling the layer or it might be an octagon that leaves the corners see-through.
I want to sometimes darken this layer, but wi...
I'm trying to give my iOS app the ability to transfer an object to another iOS device running the same app. The object is on the order a few thousand KB of memory. Does anyone have a suggestion as to how to do this? I am considering using FTP, but that seems a little messy. Does anyone have any suggestions on possibly using GameKit? ...
I am requesting some data from a server with NSString#stringWithContentsOfURL:. The server is using a self-signed certificate, so stringWithContentsOfURL: simply returns nil and does not give a change to accept the certificate.
This is all expected behaviour. I know how to properly do this with NSURLConnection and it's delegate methods ...
Hey everyone,
I've finally got my main app release (Tap Play MMO - check it out ;-) ) and I'm now working on expanding it.
To do this I need to have a circle that has four seperate buttons in it, these buttons will essentially be quarters. I've come to the conclusion that the circlular image will need to be constructed of four images, ...
I've got a navigation view with a table view in it, listing some videos. When a row is selected, it loads MPMoviePlayerViewController and inits it with a video from file URL. When I go back to the table view, the movie is still playing. I tried getting the underlying MPMoviePlayerController and giving it a "pause" message in the viewDidD...
I have a News Webserver where registered user can get RSS News. I want to build an iOS application use to get News from my webserver but i don't know how to manage acc in iOS application. How can i save logined user on iDevice ( store on .plis file, Core Data ....???, store real usr/pass or store encode user/pass), how can i verify store...
Update 2: Apple responded to my bug report with "We believe this issue has been addressed in iOS 4.2 b1 (8C5091e). Please let us know whether or not you continue to experience this issue with the newly released software by updating this bug report." I guess this acknowledges that the issue is in their code, not mine. I'll update with res...
I really, really want to program this application I have onto my iPhone/iPod Touch but I don't have a Mac. I have heard of DragonFireSDK but don't have enough money for the program(does anyone have a beta/trial version of the program?). Please Help. I have ubuntu linux & windows 7 installed.
...
What kinds of cryptographic algorithm i can use to sends/receives data to/from webserver in iOS?(My webserver don't use https)
...
I noticed that the SimpleFTPSample that apple provides leaks memory. The Leaks Performance tool detects a leak when using the "List" sample. A leak is detected after you press the "List" button the second time. Does anyone know why? ie have a fix? I am considering using FTP in my app, but don't want to create a leaky app. Thanks.
...
I know this topic is a bit of mouthful. Here's what I'm looking to do:
I would like to develop an application for iPhone's and iPod Touch devices and place it on Cydia.
I do not have a MAC OS but I do have Windows and Linux OSs at my disposable.
Lastly I do not personally own an iPhone or iPod Touch but I have many friends that would ...
Very strange. I have implemented a number of swipe gesture recognizers, all working fine. I just added a tap gesture recognizer, though, and when I run the simulator and click I get no effect. In the following code, [self doMethod] will never fire. I set up all the gesture recognizers in viewDidLoad for my controller. I am using a UIWebV...
This Apple tech note:
http://developer.apple.com/library/ios/#qa/qa2010/qa1699.html
suggests storing "internal" user documents in a subdirectory off of ~/Library. But I can't find one of the pre-created search domains that would get me this. What's the best/most correct/least likely to ever break way of constructing this path?
Thanks....
I,ve found IsInserted property, but what if I created object without inserting it into managed context? Maybe I can use ObjectID somehow for such a purpose?
...
I'm attempting to add the ability to use Bluetooth Headsets and Headphones to an application. I've modified the AudioSession like so:
UInt32 audioRouteOverride = kAudioSessionProperty_OverrideCategoryEnableBluetoothInput;
AudioSessionSetProperty (
kAudioSessionProperty_OverrideAudioRoute,
sizeof (audioRouteOverride),
&aud...
Is it possible to change the playback speed of a sound in Finch, but withouth changing the pitch?
...
Do Nib files automatically initialize certain properties?
In most objective-c code I've seen, you initialize a pointer with:
MyObject* obj = [MyObject alloc];
[MyObject doStuff];
[obj release];
However, with certain objects (like ViewController Subclasses) UIView objects are used without being initialized, and aren't ever released. D...
I would like to place buttons in various places (not in the nav bar), which have dynamic text. I want them to look similar to black nav bar button items (with the gray and black gradient).
How would I go about creating these? They need to be dynamic width based on the text of the button. I know I could create png files and stretch them,...
Can I use NSStream,NSInputStream, and NSOutputStream to send and receive data from a C# application or service? If so, how?
...