addsubview
PresentModalViewController or addsubview?
Hi I am writing an app in xcode 3.2.3. All I want to do is switch to another view but I am unsure of the best way to do this. I can do it either of these 2 ways...[详细]
2023-01-05 11:42 分类:问答iphone sdk: how to correctly switch controller
I am struggling with my app for a couple of days now and there are some things I am not sure to do correctly.[详细]
2023-01-05 11:27 分类:问答doesn't work correctly. addSubview problem
Help me. addSubview doesn\'t work. I want to add \"ContentView\" on scrollView. But \"ContentView\" doesn\'t appear on screen.[详细]
2023-01-02 07:41 分类:问答Build xib Interface Builder and load them as subview in iphone
what I would like to know if it\'s possible to build a view and its correspondent xib file. Then, in a generic 开发者_JAVA技巧controller, load this view programmatically and add as a subview to the cu[详细]
2023-01-02 06:56 分类:问答Fully-loaded UIViewController losing all it's data after adding to scroll view
Summary I\'m repurposing Apple\'s Page Control project. In loadScrollViewWithPage:, the view controllers that I\'m adding to the scroll view appear on screen without their initialized values, as if d[详细]
2022-12-28 16:31 分类:问答Subview appears behind tableview
When I add a subview to my UITableViewController, it seems to be underneath the tableview.I may be loading my subview incorrectly, or calling addSubview in the wrong place.The subview I\'m referring t[详细]
2022-12-26 20:20 分类:问答Adding a UIPickerView over a UITabBarController
I\'m trying to have a UIPickerView slide from the bottom of the screen (over the top of a tab bar) but can\'t seem to get it to show up. The actual code for the animation is coming from one of Apple\'[详细]
2022-12-25 02:05 分类:问答Go back to main window once secondView is loaded
I have a Tableview on AppDelegate That calls a SecondView (dvController) when DidSelectRowAtIndexPath using:[详细]
2022-12-24 11:05 分类:问答Displaying indexed png- files out of NSArray on the iphone screen
i like to create an artwork counter- display on an iphone, diplaying 0 to 9. The 10 digits are 10 png- files with the numbers 0 to 9 as their artwork content. The 10 png- files are implemented by usin[详细]
2022-12-24 03:16 分类:问答Initialization of controllers in a for loop - leaking problem?
I am creating a kinda gallery and for each gallery I created a view controller whose view is added to a scrollview (see code below) :[详细]
2022-12-23 19:37 分类:问答