Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIWebView don`t want to be transparent #308

Closed
ace37 opened this issue Jan 14, 2016 · 6 comments
Closed

UIWebView don`t want to be transparent #308

ace37 opened this issue Jan 14, 2016 · 6 comments

Comments

@ace37
Copy link

ace37 commented Jan 14, 2016

No description provided.

@Ramu-msft
Copy link
Member

Could you please provide more information on what you are trying to do? Are you trying to make the UIWebView control completely transparent? Can you provide a sample code?

@ace37
Copy link
Author

ace37 commented Jan 20, 2016

I converted my iOS app to WinObjC but IBUIWebView don`t want to be transparent.

- (void)loadWebView
{
        [m_webView setOpaque:YES]; 
    m_webView.backgroundColor = [UIColor clearColor];
    m_webView.userInteractionEnabled = NO;
        NSString *sHtml = [NSString stringWithFormat:@"<html><head><meta name='viewport'     content='width=device-width-20; initial-scale=1.0; maximum-scale=1.0;'></head><body style='padding-left: 15px; padding-right: 15px; padding-bottom: 15px;'><font face=\"Helvetica\" color=\"Black\">%@</font></body></html>", m_examData.m_sText];
    [m_webView loadHTMLString:sHtml baseURL:nil];   
}

in iOS IBUIWebView background is transparent and i can see parent background, in Windows 10 IBUIWebView background is not tranparent.

@Ramu-msft
Copy link
Member

Currently we do not support the backgroundColor property in UIWebView. This support has been added and will be available in our next release.

@Ramu-msft
Copy link
Member

    Fix available in 0.1 Preview (January 28, 2016)

@ace37
Copy link
Author

ace37 commented Jan 29, 2016

thank you will try

@ace37
Copy link
Author

ace37 commented Feb 1, 2016

it`s work!

@consvc consvc added Fixed and removed Coming Soon labels Mar 22, 2016
@consvc consvc closed this as completed Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants