Domanda

I'm pretty new to Objective-C so hopefully this all makes sense.In my Instruction ViewController xib file elements/objects that are text-view,check box button,proceed button are not displayed and shows the empty view.please examine my code and xib outlets and connections?

È stato utile?

Soluzione 3

There are many things that has to be checked in your code..

1) Why you are adding 2 textViews, one in view itself and another programatically?

2) You are not connecting the objects properly in your Xib.

3) You didn’t deal with Autolayout correctly.

4) Your code has also many flaws basically you dont know how to call a function.

My suggestion is to read the basics properly please.

Hope this will help you..

Altri suggerimenti

In your InstructionBIDViewController.xib you have incorrectly connected the view outlet to the TextView.

Re-connect it to the root View in the hierarchy. :)

you are set your InstructionView view to textview. that way it show empty view

enter image description here

set view property properly

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top