Open vsfeedback opened 3 months ago
Can repro this issue at iOS platform on the latest 17.10 preview 2 (8.0.6 & 8.0.14)
I also just meet this. I set and uri like as "https:// etc" as content page backgroundimagesoure in xaml, and does not work. then, I can see it works well in andriod device. the maui version is 8.61, the lastest verison. I also try old verison such as 8.06, also as same as .
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work] I have created a sample project and I want to apply background image on the content page
public MainPage() { InitializeComponent(); var backgroundImageSource = ImageSource.FromFile("loginbg.png"); // Set the background image BackgroundImageSource = backgroundImageSource; }
attached Sample code : MauiApp3.zip
Original Comments
Feedback Bot on 2/21/2024, 00:15 AM:
(private comment, text removed)
Santosh Kundkar on 3/8/2024, 00:00 AM:
(private comment, text removed)
Original Solutions
Santosh Kundkar solved on 2/20/2024, 11:29 PM, 0 votes:
I have also tried with setting the property on App.xml
like
<Style TargetType=“ContentPage” ApplyToDerivedTypes=“True”>
<Setter Property=“NavigationPage.HasNavigationBar” Value=“False” />
<Setter Property=“BackgroundImageSource” Value=“loginbg.png” />
</Style>
But again this is not working
Issue is only with iOS