When using UIScrollView you should notice these
UIScrollView is often used by developers, so it’s good for us to know some tips about UIScrollView.
In your ViewController, you should add this code below, because it can solve some weird problems.1self.automaticallyAdjustsScrollViewInsets = NO;
Using these codes can help you say goodbye to weird changes when changing ViewController by pushing the tabbar.
123456789- (void)viewWillAppear:(BOOL)animated { [superviewWillAppear:animated]; [self.scrollViewsetContentOffset:CGPointMake(self.scr ...
Add some useful plugins to your Xcode
As we know Xcode is the most important tool for iOS develops. It’s time for us to improve coding environment. However, if you use AppCode for development, it will be better, I think.
First, go to http://alcatraz.io/ or copy the following code to Terminal to install Alcatraz for a better plugin environment in Xcode.
1$ curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | s
Secondly, now you have Alcatraz to manage your powerful plugins. In Xcode, go to Win ...