uiviewcontroller
Custom Uicells in UIviewController giving error
I am trying to display a custom TableView on a UIViewController but am getting an error \"UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:\"[详细]
2023-04-11 18:49 分类:问答UIViewController present another UIViewController
I Have a UIViewController 1 on it UIButton (added as subview), after I pressed Button (see pic.1 below) on it adding another UIViewController 2 with animation from the bottom to top after some action:[详细]
2023-04-11 15:28 分类:问答Custom UISplitViewController?
I want the effect of a UISplitViewController however I am not using the split view template. Is it relatively easy to achieve without the template? And with using normal UIViewController?[详细]
2023-04-11 14:11 分类:问答How to switch between UIViews without lost the data?
I build an iphone app and there is you know multiple views to switch between them, but I face a problem when I switch between them and its like this:[详细]
2023-04-11 05:49 分类:问答How to press "Back" button in UINavigationController programmatically
I have a UIViewController called FriendsViewController inside a 开发者_高级运维UINavigationController. And a second UIViewController called FriendsDetailedViewController. When navigating from the firs[详细]
2023-04-11 03:06 分类:问答When using a UINavigationController the viewWillAppear or viewDidAppear methods of my controller are not called
Here is the pitch. I have a UIViewController subclass which does something in its viewWillAppear and viewDidAppear methods.[详细]
2023-04-10 23:14 分类:问答Accessing and Modifying AppDelegate OUTSIDE Itself
In my viewController, there\'s an object of a custom PolyShape class. The main variable of it is the number of sides and this modifies everything else in the app.[详细]
2023-04-10 23:00 分类:问答Initialize a UIViewController before an item in a search bar is selected
I have a UITabBarController and a SearchBar on the home page.The SearchBar searches items in the database and when an item is selected, jumps to that item in tab 2.I changed my view hierarchy to use a[详细]
2023-04-10 15:48 分类:问答Any possible way to call drawRect from a UIViewcontroller class?
I have a UIViewController class called AppController.h, AppController.m. I have thousands of lines of code in there, and that is the only reason why I didn\'t test this before I asked it. Is there any[详细]
2023-04-10 15:41 分类:问答Share a bool variable / NSNUmber between two view controllers
I have two view controllers and I want to share a bool variable between them. So I create a bool variable with a @propery (nonatomic, assign) on both sides and on the one side I wrote[详细]
2023-04-10 12:22 分类:问答