Questions tagged [uiview-hierarchy]

110 questions
1
vote
1 answer

Want dark color of button placed on transparent layer

I have one transparent layer on my controller with imageview on it. Now when I put the button with image it shows transparency. Though I make the alpha set to 1 on button and I also know the button are always transparent but I have to nil buttons…
1
vote
0 answers

Swift: Reset a View Controller within a View Hierarchy

I am trying to completely reset Game when Endgame Screen is dismissed and the view goes back to Game. I have tried dismissing Game but it also get rids of EndgameScreen. I have even gone as far as presenting the EndgameScreen from the Menu view…
zennox
  • 624
  • 1
  • 8
  • 19
1
vote
1 answer

Tracking of views on UIWIndow In iOS app

WHen we use navigation controller as a root of window and we pushed multiple controllers on that navigation controller. lets say A as navigation controller B as root of navigation controller C is pushed on B D is pushes on C then what will be…
KavyaKavita
  • 1,581
  • 9
  • 16
1
vote
1 answer

Present a ViewController although UIAlertController is in the view Hierarchy

I want to presentViewController when an alertController is presented. I want such as if user presses the Ok button now i want to show the ViewController from AppDelegate on PushNotification. I came to know on SO that UIAlertController is presented…
user4790024
1
vote
1 answer

Showing view with window level UIWindowLevelStatusBar resign the current first responder

I am having an issue where i am trying to show an in-app banner (above the status bar) within the application. The problem is that when i am in the middle to typing an text in the textfield, and if the banner shows up, it removes the keyboard, and…
jerry
  • 274
  • 2
  • 19
1
vote
1 answer

Xcode 6 moving views instead of rotating in Debug View Hierarchy

Is there possible to move the views instead of rotating them when dragging around in the Debug View Hierarchy pane? It zooms in the center by default but I want to see some details of a view in the bottom part of the screen.
Iulian Onofrei
  • 9,188
  • 10
  • 67
  • 113
1
vote
3 answers

Why are sibling views visually behind other sibling views, receiving touch events first?

I have a somewhat complex view hierarchy. The problem I am having is that I have several views that are siblings, and these views can be moved around on screen. My code does some subview re-ordering whenever a view is moved so that it becomes…
Christian Gossain
  • 5,942
  • 12
  • 53
  • 85
1
vote
1 answer

When two views are in the same place, how to control which show and which hide?

when two views' areas are overlap, how to control which view show and which was hidden by the other ,thank you.I search the interfacebuild, no options can solve that.
leizh007
  • 33
  • 4
1
vote
2 answers

Can you access the View Hierarchy for apps installed on iOS device using UI Automator?

I know it is possible to use UIAutomator to access the view hierarchy of a given view/app that you have the appropriate keys/certificates for; however, is there a way to access the view hierarchy of applications that you do not have access to the…
CMaury
  • 1,273
  • 5
  • 13
  • 25
1
vote
0 answers

Pass an event on the whole view hierarchy

I have created a "classic" category on ui controller to present in my way an other controller. @interface UIViewController (QZPopup) - (void)presentPopupViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)flag completion:(void…
chepiok
  • 193
  • 12
1
vote
2 answers

Segmented control not working when placed above UIImage

I have one ScrollView which contains one imageView (created programmatically with addSubView) and one view, which contains segmented control to change pictures. I added gesture recognisers for zooming. Horizontal position of the segmented control is…
Richard Topchii
  • 7,075
  • 8
  • 48
  • 115
1
vote
1 answer

View controller container sporadically misses viewWillAppear in child controllers

I have a root view controller with subview to be wrappers for views of child view controllers. The basic idea is my root controller has a left and right view controller, both present on screen (similar to a splitviewcontroller). On load a modal view…
Nick Jones
  • 523
  • 1
  • 3
  • 17
1
vote
1 answer

View is flipped when being added as subview of UIImageView

I am drawing a triangle on a UIView via drawRect and subsequently add this UIView as subview of the main view (UIView). Very easy and it shows. The problem occurs when I use an UIImageView. UIView (main view) adding UIImageView as subview and with…
Unheilig
  • 16,196
  • 193
  • 68
  • 98
1
vote
2 answers

didReceiveMemoryWarning and re-built instance variable equality checking

I'm going through my iOS app, using "Simulate Memory Warning" as my hammer of justice, and it's causing some unexpected problems (naturally). But this is one problem that has me stumped: objects are seemingly no longer equal. Say my view controller…
Ben Kreeger
  • 6,355
  • 2
  • 38
  • 53
1
vote
1 answer

How to create Folder like MY Photo app in iphone?

Dear Friends I want to know is there any Possible to create folder like MY PHOTO app in iPhone? If it is Possible How can i implement it? now i am trying to create. i am using UIScrollView in that My Customized UIView like added one UIImageView for…