iphone

How to push to new view controller from modal view that implements UITabBarController.

A view is presented modally: [self presentModalViewController:modalNavController animated:YES]; This view uses a UITabBarController with 4 elements. One of these elements, "Info" has a button that's only visible if its available. If the button is clicked, it needs to push to another view controller, but I'd also like to maintain the...

Battery power for NStimer

Hi, will creduce Battery Power?suppose If I use lot of timers in My App for Animation, will it affect My Battery Power? ...

What are the memory management checks that XCode does ?

What are the memory management checks that XCode does ? ...

highlight the text in webview when figer moves over the text in iphone?

I want to highlight the text when i drag the finger over the text in webview.I am able to detect the gesture and the coordinates at the point touched,But i am not able to highlight the text when i drag my finger over the text.Please help me out.Any sample codes would be more helpful. thanks. ...

flash iphone joomla/php

Hi i am using a flash slideshow everything is working fine but that slideshow is not working on Iphone/Ipad environment . please help ...

MPMoviePlayerController worked fine up to iOS 4.0 now just plays sound, no video

The code below is more or less taken from the example MPMoviePlayerController sample code. In an app I wrote last year, it used to play videos fullscreen without an issue. Since iOS 4.0, there's just audio in the background. It's like the movie player doesn't have a view or the view is behind my app. I can still interact with my app, eve...

problem in adding uiactivity indicator in uitableview controller

Hi i am not able to add uiactivity indicator in uitableview controller, can someone help me out I am having a table view controller now on click event of cell in table i want to display activity indicator because on click event of cell it takes 3 to 4 second of processing , so i want to display activity indicator at that time but whe...

how to set forward slash line inside rect.

i want to set forward slash line inside my CGRectMake. please help me out. Thanks in advance. ...

What's the real difference between Base SDK and Deployment Target or Deployment OS Version?

Want to make sure I got that right: Base SDK = What you're building against. If it's set to 4.1, then you build against the 4.1 SDK. Deployment OS Version / Deployment Target = The lower end, or the oldest platform your app is aimed to support. If different than Base SDK or the SDK you build against, then you must do conditional checks...

Audio Broadcasting

I want to do an i-phone application for broadcast audio LIVE over the internet..Anyone please guide me... ...

Did apple change default font size on uitableviewcell?

Hi, I have a strange problem where the font size in uitableviewcell (value 1 style..) is to big on my clients iphone. but not on any of my test devices. My client has 3.0.1 Did apple change the default size or is something else causing this? ...

generating tableview from plist file

Hi @ll, i know the feature of generating a nice looking table view for the iPhone's system settings menu by creating a Settings.bundle with a plist file where you define all the different elements for the table view (type, key, default value etc..) My Question: is there any way to create such a table view within the application? ...to ...

Using cached images in UItableView

Hi, using iOS 4.1 SDK. I am using 2 small images in each row of a UITableView. I wanted to know which of the following 2 methods was better, also is Method 1 valid at all? - (void)viewDidLoad { // create the images amd assign to class member variable NSString *imgStr1 = [[NSBundle mainBundle] pathForResource:@"someImg1" ...

How to call a function on a specific time without push notification in iPhone OS4

Hi, I want to call a function in my application on a specific time without any alert or notification to user, how can i do this if the application is closed? any ideas? Thanks in advance Inam ...

Free memory after iphone animation

My app crashes due to memory building up after every animation. Here is my sample code: -(IBAction) shoot: (id)delegate{ [gun setImage:[UIImage imageNamed:@"animation_machin_guns_320x480_7.png"]]; UIImage *frame1 = [UIImage imageNamed:@"animation_machin_guns_320x480_1.png"]; UIImage *frame2 = [UIImage imageNamed:@"animation_machin_guns...

Difference between int var. var and &var

HI guys, Here is some code NSString *uid = [[UIDevice currentDevice] uniqueIdentifier]; gameUniqueID = [uid hash]; NSLog(@"gameUniqueID %d",gameUniqueID); NSLog(@"&gameUniqueID %d",&gameUniqueID); The output is gameUniqueID -1386422508 &gameUniqueID 1386832 Whats going on here? I though they would be the same. ...

@iPhone : how to create twitter + OAuth custom login in our application

hi all. I am making iphone application. In that I am integrating Twiiter using OAuth. My question is I want my own login page and not provided by twitter as in new OAuth integration the twitter is providing. Is the same possible to create & pass username and password to the twitter for accessing twitter by making custom login page in ...

iphone SDK:How to use the checkmark to delete the row is checked ???

hello everyone I only know the first step is to check a row next I think is use a NSMutableArray to record which row is been checked and this is my code : - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { if ([[tableView cellForRowAtIndexPath:indexPath] accessoryType] == UITableView...

How would I design an iPhone application to weigh an object?

I have a problem. I am trying to build an application that will allow iphone to weigh any objects ranging from 40 to 200 grams. This application should not require the iphone to balance on your finger as other similar application does. So my question is that is there any feature available on the iphone that will help measure the pressure...

Grab html code by entering username and password on a webpage on iPhone

Im trying to grab a HTML source code from a webpage which needs user to login with username and password, the code are all done in the back end, i can not use "?username=xx&pw=xxx" to get the html code. There are many apps that does this kind of things, such as getting usage from a phone provider or view bills. I would like to know how...