I have a leak in my initWithCoder.
Can anyone help me see what's wrong?
In my custom classes I have tried both using self. and without...
-(id) initWithCoder: (NSCoder *) decoder {
if( self = [super init] )
{
persons = [[decoder decodeObject] retain];
title = [[decoder decodeObject] retain];
}
return ...
Hi, I have a form which I want the user to fill in and I want to have the keypad to pop up on the iphone automatically when they hit a JSP page instead of them tapping on the input box first. What is the special tag in order to achieve that? (note this is not an objective C app)
Also, is it possible to set a timer, eg: 3 seconds, then h...
Hello everybody,
I've got a tableview. In the "ViewDidLoad" method I have filled an array with CXMLElements. On debugging, I have seen that these are all CXMLNodes.
CXMLElement has a property to get the subelements which is called "elementsForName".
In the "cellForRowAtIndexPath:" method I used this property:
- (UITableViewCell *)t...
Now I think I know about the differences between 3.X and 4 with regards the MPMoviePlaybackController and the need to set the view and have it fully working in a child view controller. But despite the following code seeming correct (to me) I still just get a blank screen for the duration of the movie. I know it plays successfully as movi...
I get this error in realtion to my [username].mode1v3 package file:
Error: 155015 (A conflict in the
working copy obstructs the current
operation) Description: Commit failed
(details follow):
I can do a compare from the SCM results menu on this file. Doing so reveals 102 conflicts (differences) between my local copy and the l...
Every once and awhile, I think of something I would want to use my iPhone for, but when i check the App store, there is no app for it yet. The things I think of are usually somewhat specific to me. I usually get pretty close to buying a book and learning how to develop for iPhone, but I always remember the stories of how difficult it is ...
Hi folks,
any good framework I can use to listen for touch, swipes and pinch actions?
Ideas would be awesome! =)
...
Hi,
I Create a web application that when I click on button this open another application installed on iphone.
I call another application with this code:
window.launchAPP = function()
{
setTimeout(function()
{
window.location = 'http://www.app.com/'
}, 500);
window.location = 'app://';
};
T...
Connecting to http://www.manage-us.com on an iPad under 3G [used to] result in a JavaScript error which can be seen if the developer console has been enabled. If the same page is accessed using the same iPad under a WiFi connection no error is displayed. [The error has now gone because I applied the fix below!].
Why is this?
I've trie...
Hi- I'm having kind of a dumb problem.
I am using the below code to create/modify a UILabel via code. The reason I am creating it via code is because I need it to be rotated 90 degrees and Im not aware of a way to do that in IB.
What's happening - A user hits a button that makes the text they selected to appear in the UILabel. Then wh...
What is the comfortable range for a running iphone app.
My app currently peaks around 5.4 mb and would like to know the correct amount which causes crashes.
I have heard that on the iphone 3G there is around 40 mb minus the running apps such as Mail, Safari etc.
Does anyone know the truth around this?
...
Hello Everyone,
as I have read in the ASI Documentation, its writen: "Data is posted in 'application/x-www-form-urlencoded' format, or 'multipart/form-data' format when uploading binary data or files."
That's exactly my Problem. I am sending just a String to a server, but the server just accepts 'multipart/form-data' and as I just sen...
hello, does anybody know if it's possible to gather application usage information from your iphone...like for example, application with id: xxxx opend at xxxx hours and closed at xxxx hours...
thanks!
...
I have implemented the ability to make a call from clicking on a row of descriptive tableview of my hotel; I used the URL scheme by writing the following code in method "didSelectRowAtIndexPath ":
NSString *phoneNumber=element.phone;
[NSString *phoneNumberScheme = [NSString stringWithFormat:@"tel:%...
Hi guys,
I am fairly new to iphone app development. I am creating an app that has multiple views. Initially it starts with a view for authentication and then load views according to user interaction. When I build and run the app - the first time it shows the "Default.png" screen and then shows the first view where I do my authentication...
The documentation for AVPlayer states the following:
[The] player works equally well with local and remote media files
However, the documentation for AVAudioPlayer states the following:
Apple recommends that you use this class for audio playback unless you are playing audio captured from a network stream
For the work I am doi...
In my iPhone app I'd like to monitor if the user enters some particular geographycal regions at a time and act consequently.
I now saw that with the new iOS 4 it is possible to register some interest regions (CLRegion) to a CLLocationManager, so it would do some job for me, but... I'd also need to dynamically change the set of the regio...
when using the debug configuration my app runs fine but as soon as i get it on my device through itunes and ad hoc it either freezes up or behaves strangely.
any ideas as to why it would behave differently in ad hoc?
i've been trying to figure this out for days.
...
Well, I cannot seem to find this anywhere on the site. So here is my question.
I have a test app which creates multiple buttons and gives each one a unique name via "+" in the toolbar. So far so good.
I am trying to find a way to press down on a button to get that Apple Jiggly effect and then delete that button and all subViews and dat...
I'm working on an table drill-down style iPhone app that has prepopulated data. I use Core Data and NSFetchedResultsController to populate the table views. In the last level of the table view which shows an item (managed object) I want my user to be able to select that item which should eventualy be shown in another view. That other view...