I have developed an application for iPhone that runs in the background with GPS mode on. I need to ask the server if there are any new tasks for the user? Fir this purpose, I have added the code in the didUpdateToLocation method. Now the problem is that it consumes the battery very fast. Please guide me how to avoid the battery consumpt...
I have some xibs with all sorts of text controls (UITextFields, UITextViews). Since the keyboard obscures some of these text controls when text input starts, I followed Apple's guideline for managing content located under the keyboard.
In short, the solution involves moving all interface elements on a UIScrollView. Doing it from Interfa...
Hello All,
How to find the app is installed in device. Thanks in Advance
Regards,
Arunkumar.P
...
Do I have to move the layer frame or apply translate matrix transformation to layer? Or perhaps I can move the contents inside of the layer? If contents is not movable inside of layer, how it would position initially?
...
Hi,
I have used below code to combine two .caf files.
NSMutableData *datas = [NSMutableData alloc];
NSData *data1 = [NSData dataWithContentsOfFile:path1];
NSData *data2 = [NSData dataWithContentsOfFile:path2];
NSLog(@"file1 size : %d", [data1 length]);
NSLog(@"file2 size : %d", [data2 length]);
[datas appendData:data1];
[datas appendD...
hi,
i have 2 uiimageviews foo1,foo2 which are not intersecting each other, and i have 3 functions touchesBegan, touchesMoved, touchesEnded
- (void) touchesMoved:(NSSet *) touches withEvent:(UIEvent *) event
{
UITouch *touch = [touches anyObject];
if (foo1 == [touch view]){
NSLog(@"foo1");
}
if (...
I have set my base SDK to 3.0 but don't want my app available for iPad (3.2).
How can I accomplish this?
...
Here I addsubviews (UIImageViews) it all works on the simulator but not on the device (iOS 4.1) wtf!?
- (void)addChips:(int)value {
UIImage *chipImage;
switch (value) {
case 5:
chipImage = [UIImage imageNamed:@"5chip"];
break;
case 25:
chipImage = [UIImage imageNamed:@"25chip"];
break;
case 10...
Hi guys,
I have a screen where I am going to display a lot of text. I have the text saved in an array of strings. 15 Headings and 15 body texts.
I was wondering what is the best method of handing this? Convert it to HTML and use a webview or maybe some kind of textview ?
I was thinking a table could work too possibly, though I am prob...
Hi
we are expanding one of our projects in a major bank to include access via mobile devices. We are evaluating a few tools - inc. perfecto mobile, experitest and deviceanywhere.
From our initial evaluation perfecto and device anywhere cover a larger set of handsets inc feature phones. Experitest on the other hand is strong and simple to...
Hello everybody,
Im using libxml2 on the iPhone with the nice Method: PerformXMLXPathQuery from Cocoa with Love. The problem is how to find out witch xml got sent without first parsing the whole document... I tried to use the @"/" query to retrieve the first element as written on the introduction of Cocoa with Love but unfortunately, th...
Hi,
I have to save about 1kb of text. The text is not updated very often (about once a month). But is read once every time the app is started.
Would saving it to NSUserDefaults slow down the reading/writing from/to NSUserDefault? Would it be better to save it to a text file in the documents folder?
Thanks in advance!
...
Hello All,
Actually i want to apply a loop on accelerometer, means i want to start a accelerometer on behalf of loop. if i want to start loop one then want to perform accelerometer reading one time. if loop will run twice then want to run accelerometer twice. But it not happens. What should i do to control accelerometer.
Have a quick ...
I want to disable UIButton dragging in Xcode, is there anyway to do that?
any solution would help
Thanks
...
Can any one help me out in changing the color of the tabbar controller in the iphone application.
...
How to disable scrolling for UITableView header, to be always visible? (To have column titles.)
...
How is the msn messenger app developed? What I want to know is how does the app gets ti know that a new message is received, even while running in the background. Please refer any code snippets or tutorial.
Many thanks in advance.
...
Hi,
I need a checklist for checking iPhone applications. Can anyone help me on this with some usefull links or data?
:)
...
Hi guys,
I have created a web view programmatically. This works perfect. The code is below.
What I need to try and do now is inject NSStrings into it. I have an array of 30 strings. 15 Headings and 15 body-texts.
Is it possible to get these displayed inside the webview? I'm guessing I need to change them into a HTML, imaybe reformat t...
I am creating an app that parses huge xml file and gets the data into table view. The user can enter text into search bar to search the table view.
Now, i want to make the table view into a sectioned one that is grouped alphbetically. Sine the table view is huge and the search functionality is included i want to know how to make the ta...