iphone

GMT time on iPhone

How do I get GMT time? NSDate *c =[NSDate date]; gives system time, not GMT. ...

How to upgrade iPhone QuickConnect Framework ?

Hi I am currently using 1.5.0 of QuickConnect to develop hybrid app and it is a wonderful framework to use. I would like to upgrade to 1.6 beta 1 and try out the new contact feature but the mpkg installer hits an error with no clue on what is causing it. I suppose it could be conflicting with the installation from older version. Anyone h...

How to programatically check whether a keyboard is present in iphone app?

Hi, I need to check condition is keyboard appearing, in my iphone app. like: if(keyboardIsPresentOnWindow) { //Do action 1 } else if (keyboardIsNotPresentOnWindow) { //Do action 2 } So please help how to check this condition? Thanks. ...

iPhone Private distribution.

I am new to iPhone world. I have developed an application, which I would like to send to all the iphones come under the vicinity of a particular wi-fi access point. (It is meant for a shopping mall) With my limited knowledge in this, I understand, I cannot distribute the application through my webserver. I even cant use the 'Ad hoc mod...

/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

Any idea why I'm getting this error message? /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 I was trying to integrate MGTwitterEngine and yajl into my project, so followed the instructions over here... http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-d...

AVAudioPlayer initialization error

Hello, I initialize my AVAudioPlayer instance like: [self.audioPlayer initWithContentsOfURL:url error:&err]; url contains the path of an .m4a file The following error is displayed in the console when this line is called :"Error Domain=NSOSStatusErrorDomain Code=1685348671 "Operation could not be completed. (OSStatus error 1685348671...

how to create something like For All Seasons app in opengl?

I have seen a free app named For All Seasons. It has very cool effects. Does someone know how we can achieve this using OpenGL or Core Graphics? ...

how to display a table with zero rows in UITableView

I am loading a content into UITableView dynamically. If there is data the table needs to display the data. If there is no data the table should display a plain page. But in my application the table displays the plain page with two separator lines. i need to remove this separator line and display a plain white page. Please Suggest? Any h...

How can I implement swipe up view animation when user tap a button in iPhone application's tool bar?

First of all, I want to Thank you everyone in this community. All of you are very kind to collaborate this site. This time, I am going to implement a transition like the instruction below: 1. user tap on a button. 2. another view 'slide' from the bottom. 3. whether user commit filling form or cancel, that view slide down. The point is,...

Change textColor of UINavigationBar "prompt"?

Any (supported) way of doing this? IIRC it usually switches over by itself to a white color at some point when using a "darker than X" tintColor, but we seem to be just on the edge with our scheme. ...

sqlite query can't be called from a controller

Hello, i have a problem for some time which i can't solve: In the applicationDidFinishLaunching i have this code: [self checkAndCreateDatabase]; [self readCharsFromDatabase];// which stores into an array some objects [self readGlyphsFromDatabaseAtId:@"a"];// idem The second array i'm using into a secondary ViewController and i'm gett...

SQLite on iPhone - Techniques for tracking down multithreading-related bugs

Hey guys, I'm working with an Objective-C wrapper around SQLite that I didn't write, and documentation is sparse... It's not FMDB. The people writing this wrapper weren't aware of FMDB when writing this code. It seems that the code is suffering from a bug where database connections are being accessed from multiple threads -- which a...

how to see current version of iphone SDK in MAC system?

anyone can help? ...

Live Video Stream iphone

Hi ppl, I am new to iphone and Objective-c. I want to show a live going match suppose football match to the users who use my app. What do i need for live video streaming in iphone app ? any info on this is appreciated ! Thanks Guys please help anyone must have done this before ? ...

MPVolume on ipodtouch/iphone

hi, i'm using the code of this link: http://blog.stormyprods.com/2008/09/proper-usage-of-mpvolumeview-class.html it is working on an ipod touch, but NOT on iphones. what can be the reason for that? ...

how to delete the sms.db file from iPhone using xcode. is it possible the send me the source code.

i want to delete the sms.db file from iPhone using xcode. is it possible to delete it. ...

Remove HTML entities

Hi, I am developing an application for iPhone.I need to remove html entities like ["<p>"] in a parsed xml response.Is there any direct way to remove all such entities.?? ...

How to Use Progress bar to show iphone application loading ?

Before app Loads The Default.png is shown fine till here next is to show Progress bar. And then it will show the application view. Please Supply code example ? Hope you got it all :) Thanks. ...

after rotating my imageview application behaves strange?

when i rotate my imageview using this method my application behaves very strange..also when i save the image it saves in old transformation -(IBAction)rotateClicked { CGFloat Angle=(0.5*M_PI); EditImageView.transform = CGAffineTransformMakeRotation(Angle); } here is an image before rotation and after rotation but after rotai...

Read Text file Programmatically using Objective-C

hi all, i am new to iPhone Programming i want to read the content of text file which is in my Resourse folder. i do lot of googling but failed to get proper way for doing this task. Please suggest ...