its very strange problem which I am facing with my iphone cocoa application. Actually i have to add an image over playing video(i am adding that image on the key window). and then do some event handling with that added video like i have to change the video file when i tap on that added image. i am able to do all this work and its workin...
In iPhone OS 3, Apple has introduced HTTP Live Streaming which should allow live streaming of video from the internet. I am currently operating a webcam, which feeds into my server, and is then converted into a flv stream by ffmpeg, and streamed back out using ffserver. Does anyone know how to setup a video stream the iPhone can use us...
Update:
The app is running on the device of an ad-hoc user.
I just want to delete a single application's data.
Original question:
Is there a way to completely wipe the an iPhone application's directory easily?
I want to delete preferences, documents, caches, everything.
I'd like to do this programmatically within the app so I cou...
My iphone app randomly received this message. I know certain it is memory release problem. However what is the best way to find which object leads this problem. Here are what I have tried
Use Instrument Leak and
ObjectAllocation Trace. Dont saw any
help to know which object have this
problem
Put NSZombieEnabled=YES and project execut...
Ever language has their famous and painfull errors. I will be fun to learn which errors earn this reputation when developing for the iPhone.
Please list yours!
I agree with GenericTypeTea
If you can please list the error code/message and the cause to make for a more useful post.
...
Excuse my ignorance, but something's been bugging me about the Xcode debugger when running iPhone applications in the iPhone Simulator.
Sometimes, when I mess something up in Interface Builder, I get an unhandled exception at runtime and I get thrown back to Xcode. The only thing I see is a single line "uncaught exception" or something ...
I am writing a number of static libraries for the iPhone and wish also to have suites of unit tests. XCode 3 provides templates for both static libraries and unit tests but I am wondering how they should fit together in a static library project?
In my static library project I have created a target for unit testing but expect to also cre...
Hello, i have the next problem:
I'm trying to connect to a web service, with the next code:
NSURL *soapURL;
WSMethodInvocationRef soapCall;
NSString *methodName;
NSMutableDictionary *params;
NSDictionary *result;
soapURL = [NSURL URLWithString:@"http://wicaweb2.intec.ugent.be:80/FaceTubeWebServiceService/FaceTubeWebService?WSDL"];
me...
When I assign text programmatically, I can use NSLocalizedString(....), but if I am writing the text directly in IB (say to a UILabel) how do I localize it?
...
Hey guys,
Just to give background for my situation, I have a manager singleton that pulls data from a webserver and provides access to the downloaded data. I have several types of views that will consume this data, but only one view at any time will need to receive events.
I was just wondering what people prefer to use when they need t...
I'm trying to make it so when my imageviews are spawned to the screen they scroll downwards but for some reason all my astroids do is spawn in place and don't move... here's my code.
astroidArray = [[NSMutableArray alloc] init];
UIImage *astroid = [UIImage imageNamed:@"astroidwhite.png"];
UIImageView *astroids = [[UIImageView alloc...
Is there a way to parse a website's source on the iPhone to get the URL's of photos on that page? If so how would you do that?
Thanks
...
Hi all,
I'm trying to figure out how best to accomplish drawing a scene in an iphone app. Here is the situation:
I have a single view that I would like to draw to
I would like to have a background image
I would like to draw several different images on top of the background each which have separate transforms applied to them (rotation,...
For example,
NSString *firstname = @"Test";
NSString *lastname = @"User";
NSString *fullname = ???????? (so it reads "Test User" <- space added in middle)
or would it have to be
NSMutableString *fullname = ???? with some operation?
Thanks in advance!
...
I'd like to start developing applications for iPhone, but I'd really like to use OCaml rather than Objective-C. After some googling, it seems like this is definitely possible, but I haven't found any code snippets which actually compile.
Is it possible to write iPhone apps using OCaml? If so, could you provide a snippet demonstrating ho...
iPhone resources by default show up in a "Resources" group that's visible in the main xcode project view. I want to be able to put them into an actual, physically separate directory at some arbitrary location on my machine decided by me. Interestingly enuf, the default "Classes" group is an actual, physical directory but the "Resources" ...
I am downloading images using the NSURLConnection sendSynchronousRequest method and that works fine. However, occasionally I run into an issue where the image URL points to something other than an image file. For example, I found this non-image URL was causing issues: http://www.100plusposters.com/images/ExoticFlowers.jpg The URL ret...
Is there any way to spoof the user agent on Safari on the iPhone?
So for example, you would create an application on the iPhone that has the embedded Safari browser, however any website the user visits with this browser wouldn't know you were on Safari on the iPhone, it would think you are on something like Safari on a PC, or even IE/Fi...
After countless tries I got my animation animating right (Why oh why is the layer's coordinate system Y flipped from the view's coordinate system, I will never guess) but it seems that it degrades the image quality for some reason:
(green circled are examples of the original good quality images, the red circled is to emphasize the dif...
I have developed a few Delphi Win32 (currently using D2007) applications, which revolve around note-taking and idea development. I'd like to be able to pull the notes written on the iPhone's little "notes" app into these apps (which store their data in a database). One-way importing would be fine for now. Is this possible? If so, what ...