iphone

NSURLDomainError - .999 while using UIWebView

Iam getting this error while using UIWebView. Intially the web page gets loaded, after sometime I get this error. My code snippet - (id)openSite:(NSString *)urlAsString { NSURL *urll = [NSURL URLWithString:urlString]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:urll]; [showWebView loadRequest:requestObj]; return self...

how to work on soap and wsdl on iphone

Can any one give example how to work with soap[Simple Object Access Protocol] and wsdl [Web Services Description Language] for iphone...... Thanks in advance. ...

How to make "dismiss keyboard" on iPhone?

Anybody can tell me how to add "dismiss key" to iPhone's virtual keyboard? ...

App Delegate - Unload View Controller

Hello, I'm trying to unload a view controller from view when the iPhone goes to sleep. My app has a stopwatch that has to keep counting when the phone goes to sleep or call comes in or the user closes the app without logging out. I have all this functionality in place, I'm capturing all start times and stop times and upon re-entering ...

Got stuck with an error. Application exits with following error message in console

Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib") This error is seen only when running application in iPhone/iPad device and not on simulator. Any help?Thanks in advance.. ...

Does it affect the existing application on appStore if we change Twitter application Default Access type?

Hi I created the new application in Twitter & enabled xOuth support for the same. Previously the application Default Access type was "read only". U sing the consumer key & secret I made my iphone application & it is now on app store. Now i want to change Default Access type to "read-write" mode, as read only application cannot use "POS...

How to hide tab bar programatically and then expand view to fit...

I got the code from this question: http://stackoverflow.com/questions/2257178/how-to-hide-tab-bar-controller-programmatically which is brilliant, however the view doesn't expand to fit the space left by the tab bar now. I have set the appropriate UIViewAutoresizingMasks to the view, but I'm assuming that just because its hidden doesn't ...

UITabBarController + UinavigatinbarController in the middle of an application

Hello All, How can I add UITabBarController + UinavigatinbarController in the middle of an iphone application. I dont want tabbar and navigationbar in my first screen but my rest of the application require UITabBarController + UinavigatinbarController. How can I achive that ? What type of project do I need to create ? Is there any ex...

Get bounds of visible area of UIView for iPhone

I have a UIView and I want to get its VISIBLE bounds. For example sometimes there's a tabbar; sometimes there's not. I would like to get different values for these two cases. UIView.bounds always just returns the bounds of the entire screen of the phone (available to apps) which is not what I want. ...

open GL ES basis applications

Hi, How can I draw an Ellipse using openGL ES ...

webdav server for ipad

Hi everybody, I am building an application that needs to implement webdav server in order to share pdf file between ipad and mac, and want to access google docs and dropbox account. Im really tired and i am posting this question after i tried with all my possible approaches. please let me know if any one has any good idea. Thanks ...

How to load ModelView matrix dynamically for sio2 model in sio2 game engine??

Hi trying to implement AR using Sio2 and I need to update the modelview matrix sio2 model(blend) dynamically, is there any sio2 API to do so. ...

Change textColor in UISegmentedcontrol

I use below code for change textcolor of each segmented in UISegmentedcontrol how can I change textcolor of specific segment?(for example segment at index 2) for (id seg in [segment subviews]) for (id label in [seg subviews]) if ([label isKindOfClass:[UILabel class]]) [label setTextColor:[UIColor redColor]...

How to remove all NSURLCredential for my application?

Anyone know how to remove all each NSURLCredential for my application? I'm using asihttprequest as library and I'm trying to implement a logout function and [ASIHTTPRequest clearSession] doesn't seem to be enough! looking at the sqlite db here: "~/Library/Application Support/iPhone Simulator/4.0.1/Library/Keychains" after [ASIHTTPRe...

Is return @"Text"; autoreleased?

I wonder if return @"Text"; is autoreleased? And if it is so could you please explain it. Is the compiler creating a NSString object for us or how will the compiler handle this? ...

ModalView with Tabbar visible?

My application structure is the following: UITabbarController UINavigationController UIViewController UIViewController The second View controller is pushed with [self.navigationController pushViewController:[[DetailController alloc] initWithNibName:@"GenericView" bundle:nil] animated:YES]; When i from my DetailController try to pu...

confusing memory allocation error on iPhone

Hello I'm working on an iPhone application which provides information with images and texts. In every text there is one image, which can be clicked and zoomed, shown with a UIImageView NSString* imgName = [imgPath substringToIndex:[imgPath rangeOfString:@".jpg"].location]; UIImage* img = [UIImage imageWithContentsOfFile:[[NSBundle m...

Tab Bar Application, ManagedObjectContext

hi, I have this tab bar application, I have 1 tab setup correctly with a drill down navigation/table view controller which display information and details of Entity A ; And now I want to create a new tab which display another set of drill down and displaying information of Entity B which both entity has no relations. I tried to use ...

Data from webservice returns me nil value in iPhone

I am using following lines of code to convert the data (NSData) to NSString. I am getting nil value from string. But I get around 640 bytes from the server. The problem occurs only when we convert data to NSString. I used NSASCIIStringEncoding, NSUTF8StringEncoding, NSUnicodeStringEncoding for encoding parameter. Can someone shed light o...

Drag & drop: detecting what you're dropping on

Assembled elders of the Cocoa-Touch, I have a question for you all about Drag & Drop on the iPad. I am attempting to drag an item from a popover onto an underlying canvas. Employing the UIPanGestureRecognizer class I can detect a drag-start and create a UIView to drag with the finger tip. My application runs in landscape mode. The tro...