iphone-sdk-3.2

Need to Call a Method When the Device BecomeActive

Hi all, I need a help from you, That is I am implementing an application in that I need to call a method once the app resign and becomeActive but it is not working. Is there any way to call a method from our viewController when the device become active. Thanks in advance. Sekhar Bethalam. ...

vertical color gradient

Horizontal gradient is working fine . Is there any property to get vertical color gradient from horizontal gradient. I have seen the related question regarding this where they have explained using rotating the frames... so, is there any simpler way to achieve vertical gradient.. ...

what does _serverConnectionDiedNotification mean?

_serverConnectionDiedNotification. Info -- notification=NSConcreteNotification 0xd931a30 {name = AVController_ServerConnectionDiedNotification; object = <AVController: 0xce7e340>}, AVController = <AVController: 0xce7e340>, currentTime = 2189.59 when i play a movie with movieplayercontroller,i get a black screen,and find this notif...

wait_fences: failed to receive reply: 10004003

Dear all, i am trying to add splitview into my project code. I understand that most of the SplitView project have their splitview loaded on the main window. but i need to have other views before i come to the split view. That's the reason that i added split view to one of my view controller. i have successfully added my split view.. ...

Keyboard won't dismiss when popover closes on iOS 3.2

- (BOOL)popoverControllerShouldDismissPopover:(UIPopoverController *)popoverController { [self dismissFirstResponder]; return YES; } -(void)dismissFirstResponder { [nameField resignFirstResponder]; [descriptionField resignFirstResponder]; [helpField resignFirstResponder]; } I have tried loads of different things,...

iPad Partial Curl Modal View causes MPMoviePlayer to restart

Hey everyone, I'm developing a presentation app for a client, and in the presentation the client is able to double tap a slide to view a "sub-slide", which means the current slide does a partial curl transition to present a full screen modal view. My issue is that these main slides are animated videos (the sub-slides are all still imag...

iPad Universal Binary - problem with MessageUI.framework

Hello all, I'm in the process of turning one of my iPhone apps into a universal binary. Everything works ok accept for the MFMessageComposeViewController Class. I went the single project with two targets route. When I run the iPad Target, the compiler flags the MFMessageComposeViewController. Obviously, this was introduced in 4.0 but ...

disclosure indicator shifted from its position after scrolling in iphone

Hi All, I am facing a strange problem. In a table view, I am having 3 sections out of which 1st section is having only labels and text fields. 2nd and 3rd section contains text fields and disclosure indicator on some cells of table.Say 2nd section is having 10 cells, then 3 contains disclosure indicator and other having text fields. My...

Good Books for Iphone sdk and Objective-C

Hi All, I have choosen Iphone as my profession and I am working on it for making my career on this particular field.Since from last few weeks I am searching on for good books on Iphone sdk and on obj-c with topics included like: Total UI Controls , UI Delegates And all Foundation Framework classes like NSString, NSArray etc, About Memo...

Lauching App with URL (via UIApplicationDelegate's handleOpenURL) working under iOS 4, but not under iOS 3.2

I have implemented UIApplicationDelegate's application:didFinishLaunchingWithOptions: and application:handleOpenURL: according to specification, i.e., application:didFinishLaunchingWithOptions: returns YES and application:handleOpenURL: opens the URL. The code works under iOS 4 (in both cases, i.e., when the app is launched and ...

Replace a line in a file

Hi, I have a very large text file, and my iPad program needs to occasionally replace a single line of data (newline: '\n'). How can I do this efficiently? Writing the entire file at once is not an option. I've been looking into NSFileHandle, and it looks like it will do what I want; right now I'm having trouble figuring out how to find...

Left area of section in iPhone TableView

I have a section where I would like to customize the left area of a section a TableView - a bit like viewForHeaderInSection. I have thought at using a cell for the section instead, but it would be a lot of nitty-gritty. ...

isEqual doesn't always work for NSIndexPath? What can I use in its place?

I've got some code that relies on comparing two NSIndexPaths and executing different code based on their equality or lack thereof (using -isEqual). Most of the time it works properly, but sometimes it doesn't. I've used the debugger console to test the two indexpaths during code execution, and they look identical to me. Here's the code:...

Control when menu disappears in UISplitViewController

I've got a UISplitViewController set up and working nicely. When a user touches a row, it pops out an indented row of options, which the user can then select to update the detail view. The only issue is that in portrait mode the menu disappears after selecting one of the non-indented rows, so the user has to hit the menu button again to ...

ipad: Image loading and Memory management problem & crash of the app

hi all. I am having about 60 different images coming from the webservice.And I am storing it in a NSMutablearray. now when I load the image for the very first time , each image will consume about 0.5 to 1.5 mb of space of iPad. As I do have multiple images the memory consumption reaches very high and then application gets crashed. I a...

core-plot is not getting called its datasource method in device(3.2 version)

I created an application having multiple plots in a single graph(Line graph),which is in 3.2 version.In simulator it is working fine,but while Iam trying to run in my device,datasource methods of core-plot is not getting called. -(NSUInteger)numberOfRecordsForPlot:(CPPlot *)plot could anyone help me,What is the problem here? ...