Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
We are trying to add 1000 UIViews inside the UIStackView using AddArrangedSubviews and it takes around longer time for layouting and displaying all the views in Xamarin.iOS. If this is an known issue can you please consider this issue as high priority and resolve it ASAP.
Also can you please suggest how to add large number of UIViews inside the UIStackView without affecting the performance?
Please include your full build logs, crash reports (if any), test case (to reproduce) and all version information.
To get full build logs just set the log verbosity to diagnostic at the following locations:
- On Visual Studio for Mac: Preferences > Projects > Build
- On Visual Studio for Windows: Tools > Options > Projects and Solutions > Build and Run
On Visual Studio Windows you also want to add `-v -v -v -v` to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting `Properties`.
Note: this is done automatically on Visual Studio for Mac when the log verbosity is set to diagnostic.
Easiest way to get exact version information:
- On Visual Studio for Mac: "Visual Studio" menu, "About Visual Studio" item, "Show Details" button.
- On Visual Studio for Windows: "Help menu", "About Microsoft Visual Studio" item.
Then copy/paste the version information (you can use the "Copy Information" button).
Please find the requested details from below,
1>------ Build started: Project: GettingStarted_PDFViewer.iOS, Configuration: Debug iPhoneSimulator ------
1> Connecting to Mac server 1XX.XX.XX...
1> GettingStarted_PDFViewer.iOS -> D:\Xamarin\GettingStarted_PDFViewer\GettingStarted_PDFViewer\GettingStarted_PDFViewer.iOS\bin\iPhoneSimulator\Debug\GettingStarted_PDFVieweriOS.exe
1> Detected signing identity:
1> Bundle Id: com.yourcompany.GettingStarted_PDFViewer
1> App Id: com.yourcompany.GettingStarted_PDFViewer
========== Build: 1 succeeded, 0 failed, 3 up-to-date, 0 skipped ==========
Please find the Xamarin and Visual studio installed version details from below,
Microsoft Visual Studio Professional 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Installed Version: Professional
LightSwitch for Visual Studio 2015 00322-50052-03346-AA242
Microsoft LightSwitch for Visual Studio 2015
Visual Basic 2015 00322-50052-03346-AA242
Microsoft Visual Basic 2015
Visual C# 2015 00322-50052-03346-AA242
Microsoft Visual C# 2015
Visual C++ 2015 00322-50052-03346-AA242
Microsoft Visual C++ 2015
Windows Phone SDK 8.0 - ENU 00322-50052-03346-AA242
Windows Phone SDK 8.0 - ENU
Application Insights Tools for Visual Studio Package 7.18.00214.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 14.1.20512.0
ASP.NET and Web Tools 2015.1
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.8.1 14.0.11123.0
Azure App Service Tools v2.8.1
Common Azure Tools 1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Merq 1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.
Microsoft .NET Core Tools (Preview 1) 14.1.20512.0
Microsoft .NET Core Tools (Preview 1)
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Mono Debugging for Visual Studio Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.60311.1
Microsoft SQL Server Data Tools
Syncfusion Reference Manager 220.127.116.11
A useful add-in for adding and migrating Syncfusion Assembly References for Windows Forms, WPF, and Silverlight projects.
TypeScript tools for Visual Studio
Visual Studio Tools for Universal Windows Apps 14.0.25219.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Xamarin 18.104.22.1683 (c871575)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 22.214.171.124 (448f54f)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS 10.10.0.30 (30b6e87)
Visual Studio extension to enable development for Xamarin.iOS.
If you need any other details kindly revert back to me. We are in need of a solution badly.
Any update on the issue?
We are in need of the solution to proceed further on the implementation.Please consider this as a high priority.
I wrote a quick test case to double check your issue: https://www.dropbox.com/s/l5m7pymvl1ykegd/Bug57542.zip?dl=0
It works just fine, I'm loading 1000 UIViews. However, I'm not entirely confident that iOS UIStackView are designed to handle supermassive numbers of objects (:
Also please note that I asked for a test case in my previous message because that is usually the best way for us to test your issue, see the code you wrote, check the project options, etc...
I would also like to emphasize that Bugzilla is for bugs against the Xamarin platform and we might not be as quick as the community to answer iOS-SDK-specific questions.
For questions about how to best use UIStackViews and better understand its limitations, the broader developer community would be the best and quickest place for additional help.
Posting a question on Stack Overflow  or the Xamarin Forums  would be the best next step.
In case it might also be a helpful reference, you can find some general recommendations on the best places to ask various kinds of questions about Xamarin on: