iphone - How to add controls beneath a UIWebView -


The easiest, fastest, or otherwise (fairly) to add some controls (like some UIButanens) to the best way UIWebView for?

To be clear, I would like to display a regular scrolling UIWebView, but when scrolling will reach the bottom. I would like to have some UIControls after web content, I do not want to duplicate it with HTML / CSS content I see what looks like control; Ideally they should have real control which I can hook my visual controller as usual.

I do not know that it is easy to try to do this with a larger UIScrollView, both UIWebView and Controls (can there be a scrolling collision between UIScrollView and Nested UIWebView?), Or a UITB scenario in which the Web There is control in the visible and individual cells (what would be terrible?), Or in some other way that I did not think.

Update : I do not think I want to actually scroll UIWebView; I thought I would need to resize it to adjust all its contents, completely disable its scrolling behavior, and then let the user scroll through the view of my parent (either the UICrewView or the UITB View) Allow the different parts of UIWebView to be revealed.

Your proposed UIScrollView and UITWEV solutions will work.

If you stop UILubes in a UIScrollView, one or the other scrolls and scroll its contents panel, but the second will not be there, I'm not sure who will be, I think it will be the UIScrollView. Whenever you reach the end of scrolling in UIWebView, or vice versa, there is no provision for the UICroll view.

If you use the UTable view, then UIWebView will scroll in its cell, but UITableView will not scroll at all, or UIWebView will not scroll at all, and UITableView will be if you have 'grouped' table style , You might be able to scroll through UIWebView and UITableView, but it will not be a unifying experience to be searched for you.

The only technology I can think of which can be the job of posting in the interior of UIWebView and what your UIView containing buttons do not add to the scrolling unit used by UIWebView. It is beyond my cain, but keep in mind that if Apple sees what you are doing, then they can reject your app, and at the same time, internally can break their code at any time. If you go this route, try to codify it in such a way that the unavailable functionality will be a cause of great failure.

Edit:

With some discussion and experiment, come to the OP and the conclusion that this is very possible, and there is a way to do that, trusting everyone on the internal does not do. That is, use an attached scroll view, and resize the web view when it loads into its full size of its own content footage. This size can be found using [webView sizeThatFits: CGSizeZero]

If you want to use the personalization of UIWebView to complete it, then add a view to the UIWebView document view. Pass is a short code example, because I have all been working properly :)

  - (zero) ApplicationDeffish: Launching: (UIApplication *) Application {Optimization after AIP Launch Override Point for UIView * testView = [[[UIView alloc] InitWithFrame: CGRectMake (0, 0, 320, 480)] autorelease]; UIWebView * testWebView = [[[UIWebView alloc] initWithFrame: CGRectMake (0, 0, 320, 480)] autorelease]; [TestView addSubview: testWebView]; [TestWebView Set Delegate: self]; [TestWebView loadRequest: [NSRR request request with url: [ns URL = URLWithString: @ "http://google.com"]]]; [Add windowviewview: testview]; [Window-making and knowledgeable]; } - (zero) webViewDidFinishLoad: (UIWebView *) webview {UIView * insert = [[[UIView alloc] initWithFrame: CGRactMake (0, [[webview _documentView] frame] .ize.height, 320, 40]]]]; [Insert setback color: [UIColor greenColor]]; [[WebView_documentView] Adsview: Insert]; }  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -