iphone

Detecting when a cell's detail-disclosure button has been clicked (when using a custom cell XIB)

1 if (cell == nil) 2 { 3 [[NSBundle mainBundle] loadNibNamed:@"TVCell" owner:self options:nil]; 4 cell = tvCell; 5 self.tvCell = nil; 6 } There's some code from an Apple example of using your own "custom cell XIB" to create cells in a UITableView. It appears to work... but I think I would do better to actually UNDERSTAND wh...

iPad book / cartoon contents plus Marvel like cartoons

Hi, I want to create and sell book / cartoons by individual episodes. What's the best way to to this? iBook from the apple store tends to sell by entire volume / book... I see an App from Marvel sells its contents by individual episodes, but I don't want to create / maintain shopping carts and stuff. (I am assuming iPad / iPhone users...

Determining the number of objects in an NSArray

Hi friends, I am making a book application. To move to the next topic I am using a button. The Button works as it moves to the next topic, but at the end of the file my application gets the message obj_fatal and it crashes. If I knew how many objects there are in my NSArray then the problem will be solved. I am getting the details from ...

iPhone accelerometer:didAccelerate: seems to not get called while I am running a loop

An accelerometer related question. (Sorry the formatting may not look right, its the first time I am using this site). I got the accelerometer working as expected using the standard code UIAccelerometer *accel = [UIAccelerometer sharedAccelerometer]; accel.delegate = self; accel.updateInterval = 0.1; //I also tried other update values...

Is it possible to render QuickTime movies on iPhone OS?

Any methods would be useful! (to clarify: by render, I mean create, not playback) ...

How to access camera in my application

Hi I am new in iphone. I want developing a application that we can capture image from iphone camera. How to do this i am not understand. Plz help me how to do this with source code and link where we can read this. ...

How to distribute iPhone application among 50 specific users?

Hi all, I am developing an iPhone application which I need to distribute to an organization of about approximately 50 people, no. of users can increase or decrease in future. I checked my iPhone developer account, there I got that I can distribute my application via Adhoc Distribution up to 100 iPhone or iPod touch users. So I think it...

question related to UITabelView

Hi, I have 1 UITabelView I'm giving time to each and every row in cellForRowAtIndexPath: method but when i'm doing up and down the UITabelView,at that time time overlaps of row from oneanother. ...

release does not free up memory in low-memory condidtion

I am trying to follow the Apple's recommendation to handle low-memory warnings (found in Session 416 of WWDC 2009 videos) by freeing up resources used by freeing up my dataController object (referenced in my app delegate) that contains a large number of strings for read from a plist: - (void)applicationDidReceiveMemoryWarning:(UIApplica...

Is there a way to trigger the event viewDidUnload?

Hello everyone I hope manually trigger the event viewDidUnload (unload an viewcontroller). Is it possible? Thanks interdev ...

How do I create a UIViewController programmatically?

I am working in a app where i have data in UITableView. It is like a drill down application. User will click on a row and will go to next page showing more records in a UITableView. But problem in my case is that i dont know upto how many level user can drill. The number of levels are not fixed. So now i am thinking to create and add the...

UIScrollview with two images - Keeping 1 image zoomable and 1 image static (fixed size)

Hello, m I have a UIView which contains a zoomable uiimageview and also another semitransparent uiview on top of that. What I am trying to achieve is to be able to zoom the uiimageview while keeping the semitransparent view static and not zoomed. If I add the semitransparent uiview on top of the uiimageview (which is added to the UIS...

question related to type of row of UITabelView

how to use UITableViewCellStyleSubtitle and UITableViewCellStyleValue2 in 1 row with cell's text property not UILabel ...

initWithCoder and initWithNibName

I am trying to encode some data state in a UITableViewController. In the first time, I init the object with Nibname without any problem. However, when I initWithCoder, the UITableViewController still loads but when I clicked on a cell, the application crash and the debugger tells me about EXEC_BAD_ACCESS, something wrong with my memory, ...

problem with get http request from IPhone

Hi, I am writing a sample PHP Web Service that is sending GET Http request from the iphone to the web server. The server side code is returning JSON Data to iphone, the server side code looks like: function getUsers(){ $con=mysql_connect("localhost","root","123456") or die(mysql_error()); if(!mysql_select_db("eventsfast",$con)) { ...

How to get inbuilt settings information in label in iphone?

Hi, In my application I want to retrieve the information of user iPhone device about the settings relating to Alaram/Bell etc and add all those information in my label which I have created prior. So that we can proceed in my program further. please help me out its urget. Thanks in advance. ...

UIWebView comparing current and defined URL's with a loop depending on result

I am trying to compare the current url in webView with a defined url say google.com so in theory.. NSURLRequest *currentRequest = [webView request]; NSURL *currentURL = [currentRequest URL]; would give us our current url... NSString *newurl = @"http://www.google.com"; this would give us the compared to defined url while (!cu...

UITableView selection as in iPhone Voice Memos app

I am trying to recreate the selection behaviour as seen in the built in iPhone Voice Memo App. That is, in the voice memo list view, when the user selects an item, and there is already another item selected, the touch down doesn't select the cell immediately, but on touch up the previously selected cell is deselected and the new cell is...

New App provisioning in iPhone SDK 4 Beta

The enterprise distribution in iPhone 4 beta is supposed to be easier. Companies can host their own servers with the apps instead of distributing through iTunes. I am looking for technical information on how to do this. Can someone refer to the documentation/online details regarding this? Thank much. ...

Change UITableView Cell Image using IF Statement?

I want to add an image using the cell.imageView setImage: method. However, depending on field from an array (in the form of an NSString and called using [dog types]) I need the image at the left-hand side of the cell to change to an image which reflects the type of dog. How do I go about doing this? Thanks. ...