iphone

OpenGL ES 2.0 Rendering with a Texture

The iPhone SDK has an example of using ES 2.0 with a set of (Vertex & Fragment) GLSL shaders to render a varying colored box. Is there an example out there on how to render a simple texture using this API? I basically want to take a quad, and draw a texture onto it. The old ES 1.1 API's don't work at all anymore, so I'm needing a bit ...

Why aren't my objects sorting with sortedArrayUsingDescriptors?

I expected the code below to return the objects in imageSet as a sorted array. Instead, there's no difference in the ordering before and after. NSSortDescriptor *descriptor = [[NSSortDescriptor alloc] initWithKey:@"imageID" ascending:YES]; NSSet *imageSet = collection.images; for (CBImage *image in imageSet) { NSLog(@"imageID in Se...

Can i change the Font size and Font Type of NavigationItem's Title?

i have used This code: self.navigationItem.title=@"My Name is ABC"; i want to change the font size as well as font Type's also so how can i change both with this code? ...

Dictionary Application

Hi all,I want to develop an iphone application that needs an english word dictionary. Can you people suggest me any link from where i can have that database containing a reasonable number of english words with their meanings and example sentence. Thanks in advance ...

How to play sequence video continuously on iPhone?

I'm trying to play two videos continuously using MPMoviePlayer. I let the second video play when the MPMoviePlayerPlaybackDidFinishNotification is posted. [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(playSecondMovie) ...

TextField input limit in keyboard

Hi.. Can we define limit of inout in text field i wan that after certain number of character the keyboard should get hide. i should code on which event of textfields or keyboard. ...

Downloading files and save it to a hidden folder on iPhone

Hi, can some give me a good resource for the iphone filesystem? Basically I want to know: Where can I save my downloaded files into which folders? And which are not allowed? Which of these folders are hidden? (which won't be backup extracted) These files should stay on the device. Want I'm trying to do is this: The user can download...

JSON parsing using SOAP request and response

hello all in my project i want to use JASON parsing my sample soap request and response is here below please guide me how can i do that // soap request // <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XM...

Cannot commit in sqlite using a wrapper

- (IBAction)SetupButtonPressed:(id)sender { Sqlite *sqlite = [[Sqlite alloc] init]; NSString *writableDBPath = [[NSBundle mainBundle]pathForResource:@"Money"ofType:@"sqlite"]; if (![sqlite open:writableDBPath]) return; [sqlite executeNonQuery:@"CREATE TABLE test (key TEXT NOT NULL, num INTEGER, value TEXT);"]; } He...

the user name on the iPhone facebook app news feed view

is it a UILabel or UIButton, I am wondering how is it implemented. the little rectangle around the name doesn't seem to be the roundedrect... ...

autoscrolling for UIScrollView

Hi, I used the setContentOffset method to scroll to a particular point automatically without user interaction. [menuScrollView setContentOffset:CGPointMake(600.0,0) animated:YES] but when i try to call the same method in a looping fashion inorder to slow down the speed of scrolling the scrolling never happens for (int i = 1; i<=30; ...

PhoneGap vs. Titanium

PhoneGap and Titanium allow you build native iPhone Apps based on HTML and JavaScript. Has anyone gained experience with both? What are the differences? ...

What does this error mean when using OpenAL in the iPhone Simulator?

I'm getting this in the console, when creating my OpenAL Sources and Buffers: Cannot find executable for CFBundle/CFPlugIn 0xf530d0 </Library/Audio/Plug-Ins/HAL/Hear.plugin> (not loaded) 2010-05-05 17:11:13.934 Testproj[43173:207] Cannot find function pointer HearCFPlugInFactory for factory 5268FAAB-0147-4272-93FD-4D60A2433C1C in CFBund...

After renewing my iPhone Developer Program account, must I do the whole provisioning profile stuff again?

Which parts must I redo after renewing my iPhone Dev Program account? My devices tell me that my provisioning profiles are out of date. So now I must go there and do the entire stuff again? Also that certificate in the key chain? ...

NSDate getting the last day of a month?

any one have a solution for that. thanks ...

how a view controller know when it is dismissed or poped out of the navigation controller stack?

Hi all, My view controller needs to know when it is poped out of the navigation controller stack, so that it can retain itself, wait and release itself later with another notification. I intend to do like that when the view is sent dealloc message: - (void)dealloc { if (self.isPerformingSomeTask) { self.isPopedOut = YES; ...

Wizard view for iPhone application

I want to implement a wizard view that have to apply the following requirements: several steps (configurable) each step has to be a stand-alone UIView back, previous, finish buttons indicator that must show on each step we are It must not be some navigation-style implementation (using UINavigationController) just view which I can pl...

Is it possible to prevent iPhone/iPad orientation changing in the browser?

I've seen similar questions on this issue, but they are related to native apps. I build web apps for the iPhone/iPad that run in the browser (Safari). I was wondering if there is a way to prevent orientation change in the browser, perhaps via some meta tag. I know of the viewport meta tag which allows you to specify scale and zooming ca...

UIScrollView on scroll update method

Hi is there a method / possibility to run a function when the scrollview is scrolling? i found scroll start and scroll end solutions but nothing like a onIsScrolling ... is there a built in solution? or whats the best workaround (nstimer)? thanks Alex ...

send sms through programming in iPhone?

is it possible to send sms through programming in iPhone/iPod applications. ...