views:

20

answers:

0

Still stucked with this stuff... My main view consists of a 2 UIWebView. Since I need to display vector gragphics (svg) image so I embed it to the UIWebView. http://yfrog.com/myscreenshot20100720at101p

When the user touches I'll draw/display an indicator image (this comes from an image file perhaps).

My problem now, how I should implement the layering of the views for the drawing of the indicator image?

This is the structure of my view (pls see attached):

  • UIView
    • UIWebview

In my SVGDrawViewController.m:

- (void)viewDidLoad {
    [super viewDidLoad];

    //image 1
    m_url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"Example" ofType:@"svg"]];
    [m_webView1 loadRequest:[NSURLRequest requestWithURL:m_url]];
    [[[m_webView1 subviews] lastObject] setScrollEnabled:NO]; 
}

Hope you can give me some guidelines. Thanks