You can do something like this to check when loading is finished. Because you can have a lot of content on the same page you need it.
- (void)webViewDidFinishLoad:(UIWebView *)webview {
if (webview.isLoading)
return;
// do some work
}
Related Contents:
- Syntax help – Variable as object name [duplicate]
- MKAnnotationView Push to View Controller when DetailDesclosure Button is Clicked
- Detecting when the ‘back’ button is pressed on a navbar
- Is there any limit in storing values in NSUserDefaults?
- iOS – Get CPU usage from application
- How to get UITableView from UITableViewCell?
- What does the Xcode 4.2 preference “Support Wirelessly Connected Devices” do?
- Center text vertically in a UITextView
- this class is not key value coding-compliant for the key view [duplicate]
- UITableView Scroll event
- Could not find a storyboard named ‘Main’ in bundle
- List saved files in iOS documents directory in a UITableView?
- Text in UITextField moves up after editing (center while editing)
- How can I disable landscape orientation?
- Difference between self.ivar and ivar?
- How to load a UIView using a nib file created with Interface Builder
- Get push notification while App in foreground iOS
- Subclass UIButton to add a property
- How can I animate the movement of a view or image along a curved path?
- Share data between two or more iPhone applications
- iOS unique user identifier [duplicate]
- How to use custom fonts in iPhone SDK? [duplicate]
- Display clearColor UIViewController over UIViewController
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- Annotation details after detail disclosure pressed?
- Stop UIWebView from “bouncing” vertically?
- Embedding YouTube videos on
- ViewDidAppear is not called when opening app from background
- How to add more details in MKAnnotation in iOS
- UITextField format in xx-xx-xxx
- Choose custom sound for local notifications
- UIModalTransitionStylePartialCurl doesn’t get back to previous state. (Not dismissing)
- Removing a view controller from UIPageViewController
- Increment the Push notification Badge iPhone
- UIButton not showing highlight on tap in iOS7
- Break on EXC_BAD_ACCESS in Xcode?
- How can I customize an iOS alert view?
- iPhone app under test crashes after a few days
- Simple iPhone motion detect
- How to detect that animation has ended on UITableView beginUpdates/endUpdates?
- View frame changes between viewWillAppear: and viewDidAppear:
- iOS: Using device modifiers for loading xib files?
- Adding files to separate targets in Xcode 4
- iphone app allow background music to continue to play
- How to create subscript characters that’s not in Unicode in iOS
- Convert decimal to fraction in Objective-C?
- NSString retainCount is 2147483647 [duplicate]
- Method Swizzling in iOS 5?
- iphone XMPP App run background
- Xcode “Use of undeclared identifier” errors, compiles/runs just fine