iphone UIWebView store the current scroll position ?
Hi, i want to store the current scroll position of a webView and when i launch the application again . i want to restore that scroll position again .. How to do that ??? ...
Hi, i want to store the current scroll position of a webView and when i launch the application again . i want to restore that scroll position again .. How to do that ??? ...
I am working on iPhone app and I have an openGL view rendering on top of a regular UIView. It's working, but I can't seem to get the openGL view to have a transparent background that shows the UIView underneath. Instead, I get a big black box. I have tried setting the background color to UIColor clearColor, I've set opaque to NO, I've...
Hi All, I am using a image view and its size is (320X480). i want to fit a image which size is (800X600) in image view without stretching the image. i tried to make the image 320X480 but its quality becomes poor. Thanks for any solution. ...
Any idea why this works: [[[[[self tabBarController] tabBar] items] objectAtIndex:2] setBadgeValue:@"Hello"]; But this doesn't? [[self tabBarItem] setBadgeValue:@"Hello"]; I would rather not have to provide an explicit tab bar index (2 in the code above). Also, is there a way to get the ta...
I'd like to show or hide a button that lets a user make a phone call based on whether or not the user can actually make a call (iPhone or iPod touch). Is it possible to somehow detect if the phone app is available to the user in cocoa-touch? Or am i constrained to detecting the device type to make that distinction? I would rather chec...
I am trying to decide between: OpenFeint - http://www.openfeint.com/developers Agon - http://developer.agon-online.com ScoreLoop - http://corporate.scoreloop.com/features All of the websites look clean. I don't know how many users they have but ScoreLoop has some recognizable games using the service. Have you tried any of these pl...
Hello, I have a UIViewController with a webView in it. When tapping on a link, I would like to push a new controller and open the url in a new webview. Is that possible? Thanks in advance for your help. ...
I would like to fill in the class variables in a loop from an dictionary. What I want to do is having the dictionary key as a class variable and assign the class variable (the dictionary key) the value from dictionary... something like this : +(void) initWithDictionary:(NSDictionary *)dic { MyClass *classInstance = [[[self alloc] ini...
When an application comes back from low memory conditions (ie there was low memory, things were freed and the app is now back to normal use scenario), what happens to the state of objects that were initialized and set up via -(id)init method? When you receive low memory warnings, you persist all of the data and the viewDidUnload ...
The iPhone table programming guide says to carefully consider the "tradeoff between optimal scrolling performance and optimal editing performance." What type of "editing" would result in bad performance if cell contentViews are custom drawn via drawRect:? I can imagine the animations in a row drag and drop not working well. But what ...
Hi guys, I'm trying to make a login system for my cocoa app. How would I do this? I know it involves SQL, but I know nothing of SQL. I want the user to register or login. It would be easier if apple had a source code for this kind of thing, but I don't think they do. Best Regards, Kevin ...
I'm developing a web app for iphone using dashcode. I'm stuck where user needs to enter zip code or phone number and the app doesn't show the numpads but the regular keyboard. any help would be appreciated. thanks ...
I use this code to process a date string coming in from a json feed: NSDateFormatter * formatter = [[NSDateFormatter alloc] init]; [formatter setDateStyle: NSDateFormatterLongStyle]; [formatter setFormatterBehavior: NSDateFormatterBehavior10_4]; [formatter setDateFormat: @"EEE, dd MMM yyyy HH:mm:ss +0000"]; so if I call NSDate *date ...
I have an iPhone app that is based on a navigation controller. I have a main view controller that displays a list of articles, and a detail view, where you can see one article in a UIWebView. For the detail view, I have the navigation bar on the top, and a UIToolbar on the bottom. I'd like to auto-hide them with a slide animation (to t...
Is there a way to compare two Objective-C objects based purely on the protocol they implement. Specifically I'm looking at comparing two objects conforming to MKAnnotation (iPhone mapkit annotations). Given two objects that conform to the protocol, I would like to determine if they are equal as far as the protocol is concerned. In this ...
I have a UIWebView with a navigation bar and toolbar that I want to auto hide. I'm doing that already, but I want to show them when the user taps on the UIWebView. My problem is that the UIWebView captures all the touches events, and I cannot intercept the one I need. Is there any workaround for this? ...
I'm working on a website for iphone using dashcode. But i don't know how to add a new html page to the 'site'. I could use stackLayout but it takes so much time to load the 'index.html' since it has all the stackLayout's views in it. enlightenment needed :) ...
Hi, I have a view with a back button managed with a navigation controller and I want to check if a file has been saved when the user click on the back button. If the file has been saved you go back in the previous view, else a uialertview ask you if you want to save the file or not. So I did that but the view disapear and the alertview...
I have a UIView subclass onto which I need to blit a UIImage. There are several ways to skin this cat depending on which series of APIs you prefer to use, and I'm interested in the fastest. Would it be UIImage's drawAtPoint or drawRect? Or perhaps the C-based CoreGraphics routines, or something else? I have no qualms about altering my so...
IN scrolllview there is one image with zooming facility.And behind the scrollview there is round image.now i want to masking.I have tried but not working.Can anybudy give me advice. ...