3 changed files with 22 additions and 26 deletions
@ -1,16 +0,0 @@ |
|||||
using Avalonia.Controls; |
|
||||
using Avalonia.Controls.ApplicationLifetimes; |
|
||||
|
|
||||
namespace Avalonia.iOS |
|
||||
{ |
|
||||
public class SingleViewLifetime : ISingleViewApplicationLifetime |
|
||||
{ |
|
||||
public AvaloniaView View; |
|
||||
|
|
||||
public Control MainView |
|
||||
{ |
|
||||
get => View.Content; |
|
||||
set => View.Content = value; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue