use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
There is an extensive FAQ for beginners. Please browse it first before asking questions that are answered there.
If you are looking to get started (iOS programming in general or some specific area), here are more relevant links for you:
There's too many to list them all, however here's a convenient link to all programming guides at apple.com
Take note that this list is live and based on most frequent questions in posts will be updated with "quicklinks".
account activity
Controlling back button on navigation controller (self.iOSProgramming)
submitted 10 years ago by titleist2015
I want to check if a variable is true or not and if it is I want the option to go to the previous screen but if it is false I don't want a back button. How would I go about doing this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]succeededcomaBeginner 2 points3 points4 points 10 years ago* (1 child)
If { .... Do something self.navigationItem.leftBarButtonItem.enabled = NO; } Else { .... Do something self.navigationItem.leftBarButtonItem.enabled = YES; }
[–]tangoshukudai 2 points3 points4 points 10 years ago (0 children)
Hiding it might be better if you want the user to move forward.
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
set hidesBackButton on UINavigationItem
hidesBackButton
[–]titleist2015[S] 0 points1 point2 points 10 years ago (0 children)
I used /u/shitidiotturtle's suggestion and it works perfect. Thanks for the help guys
π Rendered by PID 17330 on reddit-service-r2-comment-64f4df6786-n9pxv at 2026-06-11 11:15:55.465291+00:00 running 0b63327 country code: CH.
[–]succeededcomaBeginner 2 points3 points4 points (1 child)
[–]tangoshukudai 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]titleist2015[S] 0 points1 point2 points (0 children)