switching views in iphone

后端 未结 3 1485
滥情空心
滥情空心 2021-01-17 04:40

i m making a client server program in which i want to switch from one view to another but i am getting an error in \"clientserverprogram view.m\" plz help

\"         


        
3条回答
  •  有刺的猬
    2021-01-17 04:54

    I used your code and the problem here is your class name "secondview" and the instance you are making from it IBOutlet secondview *secondview are same. Please use different name for class names and the instances you create.

    Always start with uppercase for class names and start with lowercase for class instances you create. Hence, your class name should be SecondView and you should write IBOutlet SecondView *secondView.

    Or you should just use different names. Its very confusing.

提交回复
热议问题