iphone

iphone secure network identification

Hello!!! can anyone tell me (code sample woudl be awesome) how to get the the secure wi-fi userid and password for the current logged user on the iphone for example: Wi-fi settings for a network using WPA2 Enterprise (network/username/password) how can I found out who's logged for said network ?? Thanks in advance!!! Cheers ...

Inapp purchase in iphone

Hi , I am new in iphone and i am on the final stage of my first project for iPhone.I need some help in Inapp purchase implementation.I need to give a free version of my app for thirty days and then force the user to buy the app.Please let me know how can i start implement this.Looking forward for valuable advices. Thanks in advance. ...

simple question of pushViewController

messagecontroller is nothing but object of initialize nib file. [self.navigationController pushViewController:messageController animated:YES]; this statement executes in normal condition this statement also works on state maintainace testing , this line executes properly but not open new view ,why? ...

Schedule timer with NSTimer makes the task run faster than expected

I schedule a timer with NSTimer's function in viewWillAppear as follows: minutesTimer = nil; minutesTimer = [NSTimer scheduledTimerWithTimeInterval:60 target:self selector:@selector(updateScrollViewItems) userInfo:NULL repeats:YES]; With this function call, I expect it to call the selector updateScrollViewItems every minute, but it do...

There's a way to avoid AppleStore?

Hi, i need to develop an iPhone application that is a Client of serverside application. This application is not for customer but for sell agents. I know that if i try to send to Apple to put on Apple Store they reject it because the application have no sense for Apple Store. The company is small so i can't use the Enterprise program. The...

TableView reloading problem

Hi All, i am in a very serious problem of tableview reloading. i have two option in my tableview show next 10 Results show previos 10 results I wanna show only 50 results at a time in my table view. when table is populated with 50 results after that on pressing "show next 10 results" the results from 1-10 are removed and results fr...

Core Data: Merging multiple Managed Object Contexts and deleting objects

I have an iPhone project where I have a series of Managed Objects in a Managed Object Context within the main application thread. On a separate thread, I import new objects from a webserver into a second Managed Object Context. If the import goes ok without errors, I save the import context. This triggers contextDidSave from which I c...

SQLITE no such table: error IPhone

Hey, Im have been using sqlite as a store in my app and everything was going fine problem is i changed my database schema deleted the old one and then inserted the new one in and now the application no longer loads any data despite all of the sql statements working fine whenever i run them in the firefox plugin. I have done a build clea...

how to apply the center of image view for another image view center

hi, I am developing image redraw app. i know the center of one image view which is having scaling property. i.e it can change it frame and center . that to be applied to another view center. when i apply center to newly formed Image view it giving wrong center because of the previous image view is having scaling property. so how can i ge...

will the desktop appstore icon be appear only after approval ?

hello all , I am just going to submit my iphone application . But I just have a doubt . when I test my application with adhoc certificate the application icon come nicely in the device homescreen . but I haven't got it for desktop app store (i.e iTunes). I have read that I have to submit another 512x512 icon for the desktop icon . ...

How to develop an iPhone application in linux or windows

Hi i like to develop iphone application. how to develop the iphone application in linux or window. please do reply me. ...

Is there a way to display the files in document directory with the sequence of modified date

Hello everyone I just wonder there a way to display the files in document directory with the sequence of modified date. Welcome any comment Thanks interdev ...

How to detect if device is headed towards a specific point direction

Hi, I have my current location from CLLocation, and I have another location- also an CLLocation. I would like to detect when my device is heading towards that other location. (I can calculate the distance in meters between this points- but can't workout the calculation of an accurate angle to compare with the device current headin...

setting user Credential permanently for safari browser

hi, Can any one tell how to set user credentials permanently for safari browser in iphone simulator? ...

problem while displayin the texture image on view that works fine on iphone simulator but not on device

hello i am trying to display an image on iphone by converting it into texture and then displaying it on the UIView. here is the code to load an image from an UIImage object - (void)loadImage:(UIImage *)image mipmap:(BOOL)mipmap texture:(uint32_t)texture { int width, height; CGImageRef cgImage; GLubyte *data; CGContextRef cgContex...

reCaptcha on iPhone App using SDK

Has anyone used reCaptcha on their iPhone application? I am trying to figure out how to embed it in my App... ...

Proper method to detect device model (iPhone/iPod Touch)?

Is this the proper way to detect which device a user is running? NSString *currentModel = [[UIDevice currentDevice] model]; if ([currentModel isEqualToString:@"iPhone"]) { // The user is running on iPhone so allow Call, Camera, etc. } else { // The user is running on a different device (iPod / iPad / iPhone Simulator) disallow C...

Google Toolbox For Mac with Core Data on iPhone results in error

I have set up my project for using Google Toolbox for Mac as described on official wiki. And everything is working as expected. For core data usage I have created a 'database' class that uses for final application SQLite storage (this is done based on Xcode template code). For unit tests I have created separate init method for 'databas...

iPhone UIWebView initial focus?

I have a simple app with a full screen UIWebView. This contains HTML generated by the app. I respond to clicks on various elements of the page via document.location = "someCommand" I have to touch the screen once before it will respond to a second touch. It's almost like it is not the focused control. it is the only view in the app. H...

Enabling bookmarking on a UIWebView (to make shortcuts on springboard)

I wan't to add shortcuts on my springboard form my application. The way i'm following is loading a UIWebView and then trying to add a bookmark. But I can't figure out how to add the "+" button to bookmark the content of my WebView... Is there a way to do so ? Or is there another way to add shortcuts on the springboard programmatically...