In a view containing several subzones, one of the subzones must remain fixed, a non-zero distance from the top and bottom of the supervisor. In these images, this view is grayed out:
According to the documentation, this view should have a mask UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth. However, this leads to the fact that the view increases its height in order to seize all control. How can a view be contained in fixed but nonzero fields? Thank.
UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth
UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth must work.
UIView, / ( , ) — , / UIView .
initWithFrame: CGRectZero; , - subview.frame = self.bounds, self.bounds CGRectZero ( ).
subview.frame = self.bounds
setFrame: setBounds: NSLog.
Source: https://habr.com/ru/post/1760160/More articles:.Net The fully qualified name for the variable type is .netForce user control on web page to reinitialize - c #PHP / mysql: query MySQL with an array and get the results in an array - sortingsetting default value for column in select statement - sqlКак включить внешнюю библиотеку actionscript в flash? - flashNginx Reverse Proxy Configuration - apachehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1760162/mercurial-commit-messages-from-local-to-central-repository&usg=ALkJrhigH9ossYoRSeeMb8NNmfQzY9xANQJavascript: focus focus in dialog box - javascriptIf I override a class method, is there a way I can call the original method (the one that was overridden)? - iosЧто означает "Когда используется, базовый тип должен быть сложным типом, тип содержимого которого прост..." даже означает? - xmlAll Articles