iPhone : HOWTO move status bar with pan gesture

后端 未结 4 1488
不思量自难忘°
不思量自难忘° 2020-12-28 09:21

Like Instagram - EXPLORE Tab, when I scroll the content, the status bar moves as well.

Always called FullScreenScroll, like here, when the user scro

4条回答
  •  温柔的废话
    2020-12-28 10:03

    This is the best solution you can find to get status bar window

    UIWindow *statusBarWindow = (UIWindow *)[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"];
    

    Then change the frame

提交回复
热议问题