UINavigationController autoresizing views behavior
-
22-09-2019 - |
문제
I've read in Apple's documentation about UINavigationController's resizing behavior and it hasn't been much of a problem until now.
I have the following code to set up my UINavigationController's view:
navController.view.frame = CGRectMake(0, 40, 320, 420);
and this is sufficient until the view is obscured by a modal view, at which point the view is resized to the default size somewhere between calls of viewWillAppear
and viewDidAppear
(as UINavigationController inherits from UIViewController).
I'm attempting to keep a banner visible above the UINavigationController (in the 40 by 320 space left available) but this banner is consistently obscured as described above.
Is there a way to surpress UINavigationController's resizing behavior without subclassing UIViewController myself?
해결책
SharePoint Designer에서는 할 수는 없지만 워크 플로를 시작하고 Windows 작업 스케줄러를 사용하여 48 시간마다 시작할 Windows 작업 스케줄러를 작성할 수 있습니다.다음은 해당 스크립트의 예입니다. http : // www.MySharePointAdventures.com/2012/06/start-aworkflow-using-powershell/
다른 팁
I'd try
myNavController.superview.autoresizesSubviews = NO
and obviously check myNavController.autoresizingMask
As a last resort, subclass its superview and reimplement layoutSubviews