diff options
author | Jason Smith <jason.smith@xamarin.com> | 2016-04-17 12:33:52 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-04-17 12:33:52 -0700 |
commit | 0b10ab0c130c814b4ab1595c8d13c4c6c9c9d5df (patch) | |
tree | 1518a50c966caced55e4cc4b4d80e6a9c5636fc4 /Xamarin.Forms.Controls.Issues | |
parent | 2223efdd4ff740a9335cd0a41f0c0e406568ed3d (diff) | |
download | xamarin-forms-0b10ab0c130c814b4ab1595c8d13c4c6c9c9d5df.tar.gz xamarin-forms-0b10ab0c130c814b4ab1595c8d13c4c6c9c9d5df.tar.bz2 xamarin-forms-0b10ab0c130c814b4ab1595c8d13c4c6c9c9d5df.zip |
Fix bugzilla39987 (#100)
* [Controls] Add repo for bugzilla 39987
* Fix repo
* Resolve issue with blank first tab in iOS 9.3
Diffstat (limited to 'Xamarin.Forms.Controls.Issues')
2 files changed, 50 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla39987.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla39987.cs new file mode 100644 index 00000000..64ba5063 --- /dev/null +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla39987.cs @@ -0,0 +1,49 @@ +using System; + +using Xamarin.Forms.CustomAttributes; + +#if UITEST +using Xamarin.UITest; +using NUnit.Framework; +#endif + +namespace Xamarin.Forms.Controls +{ + [Preserve(AllMembers = true)] + [Issue(IssueTracker.Bugzilla, 39987, "Bug 39987 - MapView not working correctly on iOS 9.3")] + public class Bugzilla39987 : TestTabbedPage // or TestMasterDetailPage, etc ... + { + protected override void Init() + { + Children.Add(new CustomMapPage(new CustomMapView(), "Teste 1")); + Children.Add(new CustomMapPage(new CustomMapView(), "Teste 2")); + Children.Add(new CustomMapPage(new CustomMapView(), "Teste 3")); + } + + } + + public class CustomMapView : View + { + public CustomMapView() + { + + } + + } + + public class CustomMapPage : ContentPage + { + private CustomMapView _customMapView; + + + public CustomMapPage(CustomMapView customMapView, string title) + { + Title = title; + _customMapView = customMapView; + _customMapView.HorizontalOptions = LayoutOptions.FillAndExpand; + _customMapView.VerticalOptions = LayoutOptions.FillAndExpand; + Content = _customMapView; + } + + } +} diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems index 5eff8aef..5f0ad474 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems @@ -400,6 +400,7 @@ <DependentUpon>Bugzilla39378.xaml</DependentUpon> </Compile> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla39963.cs" /> + <Compile Include="$(MSBuildThisFileDirectory)Bugzilla39987.cs" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="$(MSBuildThisFileDirectory)Bugzilla22229.xaml"> |