Navigation controller set to null, using UITabBarController - xamarin.ios

I have an IOS app built with Xamarin, Visual Studio on the Mac.
In my SceneDelegate I create a UITabBarController with about 9 tabs. Each tab is a UINavigationController that has the View Controller I'm displaying as its root. (This is done so that some of my views can push subviews onto the view stack.
My problem is that when I click on a tab, and then back to the first (left-most) tab. And then push a view controller with it's NavigationController, the pushed view has a null Navigation controller. Why didn't the push set the NavigationController of the pushed view successfully?
Thanks,
Gerry

Related

react native Navigation - Custom Nav Bar is not centralized

Custom nav bar is not centralised when there is a right navigation icon. The whole custom navigation is pushed left
Steps to Reproduce:
add a custom Nav Bar
add an navigation right icon
result: the whole custom navigation area is pushed to the left
ANY HELP?

Xamarin Studio - Storyboard looses all views but Document Outline shows them

I am starting to learn about Xamarin/IOS and I am trying a very simple example to use storyboard designer to add views. I added 2 labels, a button, a switch and a slider and run it in emulator and all works as expected. But then when I got back to my storyboard designer, none of the view was showing there anymore but Document Outline was showing them properly as per attached screenshot. How do I get them show in design view?
They show when I run app in simulator and they were showing properly in designer as well when I added them initially
This is another strange issue with Xamarin Studio. I often find that it will not do what it is supposed to do and that restarting like explained here Xamarin.iOS Designer - Creating Action segue not working often solves the issue.
Completely unrelated issue, but restarting helped in both cases.

UIWebView added to a UIScrollView?

Hello there I'm working on this UIWebView in Swift. I added a url to the web view and so it worked properly. But when I added the web view into a scrollview I disabled the user interaction in the web view so it would not scroll from the web view. so I enabled the scrolling in the Scrollview and now I can scroll fine.. But when ever I try to click a button from my web view it does nothing.. Does anybody know how I can I enable the web view to be clickable inside the scrollview?
I believe this is the proper way to deal with your situation.
Do not disable user interaction in the web view. This prevents scrolling from occurring, but has the side effect of preventing other events, such as tapping.
This line should solve your problem:
webView.scrollView.scrollEnabled = false
If this is in the Storyboard, there is another way to do this. Go to the Identity Inspector (3rd tab on the right sidebar). Press the + sign underneath Key Path to look like the following:
Make sure the checkmark is disabled.

Master View in Iphone

I had asp.net back ground and now developing apps for Iphone. I have been wondering is there some thing master view or theme for app as we had master pages for website designing in asp dotnet which make the whole website design generic
thanks
No you really don't have anything similar. You do get two great application templates, the Tab based view or the Navigation based. In the navigation controller certain things follow each view like the style of the navigation bar but that is it.
If you want to use something like PhoneGap and drop that into XCode then use a web based UI framework like jqTouch, then you can have a template :) but that is a completely different application model.
Master View? I'm not sure what you mean by this. You have a Window (UIWindow) that you add Views to (UIView). You only have one window, but are free to have as many Views as you like.
So it depends what you want to add, for example i have a banner that i want at the tope of evert screen. I added the ImageView to the window and scaled the Views so they left the top of the window showing.
If you wanted to add some default behaviour to your Views and or add an image view to every view. You could simply subclass UIViewController and go from there?
If you give a touch more detail about what you want to achieve I'll gladly go into more detail.

how click a button on a web site in vb 6.0

how can i click a button on website given that i have the web browser control in my visual basic 6.0 i need it for my project where i want to automatically click a button from a series of buttons
You need to invoke the "click" event on the element.
This will cause all the client-side actions to happen as if the user clicked it with the mouse.

Resources