iphone

Problem in file download on Ipad

Hi all, I have an app in which I download file using NSURLConnection class object and the code works well on the iphone device 3.0 but when I run the same code for a different build on iPad it doesn't. So I want to ask are there any changes have been done in iPhone OS 3.2 related to NSURLConnection or something else is the prob. Here ...

Play video on iPhone using OpenGL ES?

Hi All, Can I play a video using OpenGL ES on iPhone? I dont want to use MPMoviePlayController class (because default controls also appears on the screen). Thanks Saurabh ...

xml values are not passed to detalview for iphone

somehow its data is not transferring so i am using other method for dsiplaying but is this good for memory management ?? if ( [elementName isEqualToString:@"telnumber"]) { NSLog(@"Processing Value: %@", currentElementValue); NSUserDefaults *tel = [NSUserDefaults standardUserDefaults]; [tel setObject:currentElementValue forKey:@"key...

fliping view continiously

hi this my code [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1.5]; if ([sender tag] == 1) { [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:placeholder cache:YES]; } else { [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forV...

can any one give me the url's where i get best sample code for iphone as well as iPad applications?

Hi!i am working as iPhone Application Developer.I want to Learn new things in iphone so please guiding me i want some sample code as well as some Tutorials so i get proper knowledge.Please help me.... ...

iphone core data save not working

Im trying to save a list of Device classes (a custom class) using Core Data and retrieve it. But After I save it, my query, which is VERY simple, doesnt return any records. My call to save the records always returns YES and no errors: BOOL resultOfSave = [managedObjectContext save:&err]; My predicate for searching by the property use...

Page flipping sample code

Hi guys, Is there any sample code available for flipping a page like stanza and iBooks? Any help would be appreciated. ...

C++0x Lambda Support in GCC for the iPhone

Can anyone tell me if C++ lambda expressions will be supported by GCC for the iPhone in the future? Obviously Apple have their custom 'block' support so I wondered what this may eventually mean in terms of portable C++0x code to the iPhone platform? ...

iPhone - removing subview and adding it again, [self.views subviews] objectAtIndex changes?

Hi guyss, i have a view that addes a subview programmtically SelectionScreenTable *aSelectionScreenTableViewController = [[SelectionScreenTable alloc] initWithNibName:@"SelectionScreenTable" bundle:[NSBundle mainBundle]]; aSelectionScreenTableViewController.view.bounds = CGRectMake(0,0,955,520); aSelectionScreenTableViewController....

Iphone Orientation Issues

I have an application with the a sructure as follows UITabBarController (3 tabs) UINavigationController (in each of the tabs) UIViewController (in each of the Navigation controllers) In it I want some of the UIviewControllers to be able to switch to both landscape and potrait modes for example In Tab 2 I have a Picture Gallery...

Tabbar icons issue

My application is a tab bar based app, I have 5 tabs each of which requires to have a customized image for the icon. I tried loading the image for each of the tabs, and it works. The problem is I see a greyish circle for one of the icons, instead of a football image. Each of these images are in .png i.e transparent. The football art is...

extract data from plist & then store permanently on tableview's cell iphone ?

Hi All In my application one is mainviewcontroller which is subclass of uiTableviewcontroller holds data from plist when clicked on a particular cell its displays detailviewcontroller(dvc) which is subclass of uiviewcontroller. dvc holds textfield & button .actually when i clicked on button i write textfield's text on tableviewcell throu...

What type of View I can use for text+images report?

Hello! I want to make some sort of non-editable "report" view with images, titles and text in it. Images generates in code, not from bandle, so I can't use UIWebView. User puts some data into previous view and press "done" - Next view opens with "generated image some text title mini title image text ... " etc I think its si...

How to do something like Photoshop's screen Blending with glBlendFunc (OpenGL ES 1.x)?

I have a simple one channel (8bit) bitmap with luminance data only, and I want to blend it with the existing framebufer like Screen blending mode does it in Photoshop. So the source's white pixels (255) should result white, source's 50% gray pixels (128) should result the framebuffer pixel enlighted by 50%, and source's black pixels sho...

iPhone MapView save to Photo Album

How do I save a MapView to the PhotoAlbum for later attachment to an email created within my iPhone application? ...

Load framework only when found (For example CoreTelephony.framework)

Hello The application I'm currently developing needs to show the carrier name on a screen. I know how to achieved this with the CTCarrier class from iOS 4.0. But unfortunately my app needs to also run on the older system versions (back to iOS 3.0). This is a requirement I cannot change. From the code this should not be a problem, as I ...

How to record a screencast from the iPhone Simulator?

Is there a free tool that would allow recording the iPhone Simulator for a youtube demo video of the App? ...

getting the index of a characterset in a string

i have to put UIImageView object at those places in my string where i have got special character.For that i have replaced those special characters with spaces so that i can put my imageView in that space.Now the problem is getting the x co-ordinate of the imageView.Remember i may have to many imageViews nd there indexex are dynamic.Can s...

Problem with non-transparented buttons on a transparent scrollview

Hi all. I have created a scrollview, and some button are placed on this scrollview. And scrollview is transparent with alpha = 0.5. The fact that my buttons are also transparent despite they are set to alpha of 1 and their opacity is set to YES. And I khow that I added any subview to any superView view then the properties of superview sh...

CoreData: NSManagedObject does not respond to user defined message

Using CoreData (on an iPhone app) I generated my entity classes from the model and I added some more methods to some ones. It appears that sometimes I get an exception for calling one of those methods. The exception is not random but concerns only some ManagedObject subclass (the others seem to respond correctly). Here is an example of w...