We have a project where we want to change the order of accessibility based on the tags of the subviews. I am trying to find examples but I am not able to find any examples with swift. Can any one help me with this?
Thanks,
Shabri
We cannot change the order of accessibility. Based on DOM appearence the screen reader will read the content
Related
I have implemented a custom UIMenuController with two aditional options besides the ones that are set by default in iOS (cut, copy, look up, share). I want to keep these standard options, but I want them to appear after my two custom items, does anyone know how to achieve this in an efficient way? Thanks in advance.
The UIMenuController documentation says:
Custom items appear in the menu after any system menu items.
So there is probably no approved way around that. It appears to be baked in functionality.
I am developing a survey app using Xamarin and Mvvmcross. Can some one help with suggesting a way to build a View to display questionnaire. These questionnaire will be supplying from my View Model as a List of question with Question Text, Answer options. Based on a flag I need to prompt the questionnaire with input type as drop down or Text boxes. Number of questions can be vary.
In Android I achieved it using MvxGridView and Layout templates. But not sure how to do it in iOS.
You could look up UITableView or UICollectionView and UITextFields and UIPickerView
Wellcome to Xamarin, about your question you can just take look the code I wrote for others, it's a tableview include custom cell to display images, you can just modify the MyTableCell.cs class to display anything you want.
Custom cell tableview(Xamarin.iOS)
If you still need some help, just leave it here, I will check latter.
Hope it can help you.
I am using Picker for displaying the items,I want to select multiple rows in picker, is there any way to achieve this in Xamarin Forms shared code or through rendering? any suggestion or idea would be much appreciated.
Thanks.
I don't would use Picker for multilselection.
You can do this with a ListView (100% XF-Code).
I have posted some code some time ago in the XF-forum:
http://forums.xamarin.com/discussion/17885/multiselect-listviews
If you have to show the "Multiselect-ListView" from a ScrollView, you may also be interested to use the PopUp-Control (XLabs):
https://forums.xamarin.com/discussion/33587/how-to-use-a-listview-in-a-scrollview-with-xlabs-popup-control#latest
And finally, if you want to install the XLabs-NuGet, a further posting to XLabs may help you (search for "How to install, setup and use XLabs" in the XF-forum).
As i don't have more than 10 rep-points here, I am not able to post more then two links :-)
Hope this helps...
No there isn't.
The Picker Class, has SelectedIndex property, but no SelectedItems collection. Also, the native control under the hood on iOS doesn't support selecting multiple rows and I don't think the Android or Windows one do either.
You could create use a Custom Renderer if there was a native control you wanted to use. But, it would probably be easier to use a ListView control and add some events and style it to look and behave like you want.
Is there anyway I can change the size of the title for an apple watch app?
The one that shows up on top left corner.
Take a look at this. It's the Apple development guide.
Also look into this. It's specific to Apple Watch App labels.
Edit:
This link specifically has the methods and properties used to resize label text within an Apple Watch App.
Both of these were found via a simple Google search. If you want help with a code block specifically, please edit your original question to add that code.
I also have the same issue. You can "kind of" solve it by using a group. Paste the group in, layer it over with another group and put the label inside there, change your label size by dragging the corners. That centers it. I don't think Apple has added the capability to freely move around labels like iOS View Controllers. I hope that helps for now :)
I apologize if this been asked before, I've searched but havent found the answer I'm looking for.
I'm writing an app that will calculate various values and display that value in the interface use. One example is the days until a various event. What would be that best element from the interface builder to display this information? Use Labels and update the labels to display the values? Any help would be greatly appreciated, and again I apologize if this has been asked before. If it has and I was unable to find it please point me in the proper direction.
UILabel is good for short pieces of text (which can include numbers like "45.3450004" etc.).
UILabel will be good. OR
You can use Text Field with User Interaction Disabled.