Recently, I'm curious, so I take a day to know about this new things.
Imagining when browsing news with not that fast network, to load almost text and necessary things are so suitable and great. Life is short but so many things take time :)
Welcome to try this Ad blocker to enjoin life without Ad.
But one thing need to aware, blocker rules will keep updating from cloud backend continuously.
Thursday, November 12, 2015
Some tricks may have you save days
For iOS, I sometimes met wried issues and have no solution for that at all, seems simple things and sometimes can be confused, and took you days... not worth at all.
So, hope my tricks can save you days, and welcome sharing, too.
1, To know when the back button of UINativationViewController is clicked, you can try:
(According to here: http://stackoverflow.com/questions/1214965/setting-action-for-back-button-in-navigation-controller/3445994#3445994)
So, hope my tricks can save you days, and welcome sharing, too.
1, To know when the back button of UINativationViewController is clicked, you can try:
(According to here: http://stackoverflow.com/questions/1214965/setting-action-for-back-button-in-navigation-controller/3445994#3445994)
-(void) viewWillDisappear:(BOOL)animated {
if ([self.navigationController.viewControllers indexOfObject:self]==NSNotFound) {
// back button was pressed. We know this is true because self is no longer
// in the navigation stack.
}
[super viewWillDisappear:animated];
}
2, Skip previous view and go back to previous's previous view, you can try
(e.g. You're at A, and A->B->C, but when back in C, you want to skip B and go to A directly)
a, First, saving current UINavigationViewController to a temporary variable
b, Call popViewControllerAnimated (when you pop, the navigation changed to nil immediately, that's why when you push C doesn't work. You need to save it to a local variable first, retain the couting)
c, Using the one you saved just now to push to show next view C
Continue...
Monday, November 2, 2015
How and where to start a try for iOS app
I think you already got some great idea and want to give it a try.
For me, after I ready my mind, the first thing I need is a great icon, it's just as important as your name. Of course, very very important.
I found some Free resources and so glad to share in here with anyone want to turn your idea or dream to true with no cost, Free :)
If you have any better resources are always welcome to comment to here.
Great sharing!
So, For Me, how do I did.
1, https://pixlr.com/editor/
>>>Online free Image editor, you should create a 1024x1024 size one for late use.
2, https://www.iconfinder.com/
>>>So many free icons to download, be care about the license issue.
3, https://github.com/smallmuou/ios-icon-generator
>>>Great tool to generate iOS app icon pack, you maybe need to install "brew" first. (go here http://brew.sh/)
Continue ...
For me, after I ready my mind, the first thing I need is a great icon, it's just as important as your name. Of course, very very important.
I found some Free resources and so glad to share in here with anyone want to turn your idea or dream to true with no cost, Free :)
If you have any better resources are always welcome to comment to here.
Great sharing!
So, For Me, how do I did.
1, https://pixlr.com/editor/
>>>Online free Image editor, you should create a 1024x1024 size one for late use.
2, https://www.iconfinder.com/
>>>So many free icons to download, be care about the license issue.
3, https://github.com/smallmuou/ios-icon-generator
>>>Great tool to generate iOS app icon pack, you maybe need to install "brew" first. (go here http://brew.sh/)
Continue ...
Subscribe to:
Posts (Atom)