Whats the right way to set up view controllers? [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I'm making a quiz game
You may all find this funny but its the only way I know how to d this!
I've set 35 logos on 35 view controllers, Is that acceptable or will apple not allow it?

Apple wont reject your app but it's bad practice. If you have a quiz game you could just make a view controller for the quiz which has a textview for the question and four buttons for the answers. The text for the buttons and the questions could be saved in a database like core data or in a simple plist file and when the quiz starts you load them from there.
You can find a tutorial for a little quiz app over here: click me

there're many ways to do this.
you should look at UIPageController or UICollectionViewController
if that's not what you need, you can create it yourself, just make an UIViewController with UIImageView property and set its image.

Related

Is a completely custom keyboard, for my app only, acceptable? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
I'm working on an iOS app that requires a custom keyboard. I'd like some help in knowing if I am allowed to create a custom keyboard for my app only and if I'm allowed to set a custom height on it as well. I've never worked done anything with creating custom keyboards for my app only, and would appreciate if some guidance were to be provided on how to go by starting this if this concept were to be acceptable by Apple. Thank you for your time.
Totally acceptable inside your app! and there should be no acceptance criteria for that!
You can even make a custom keyboard to use outside your app (I developed two myself), however there are acceptance criteria for that (like having a button to switch to another keyboard).
Hope that helps!

iOS UI design pattern for consecutive yes/no questions [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
If I'm making an iPad app for a questionnaire that consists of 10 "yes/no" questions, what is the best way to go about this from a UI design pattern perspective?
I want only 1 question to be shown at a time. I have thought about maybe a UIPageControl, but that doesn't seem to really fit. Also I have thought about a self looping segue on the question view controller, but this also seems like it might have its own problems. What about a sidebar with each question in a list?
What is the standard/accepted/best way to go about this type of problem from a UI perspective?
With this requirements, my solution is to use a navigation controller with 1 ViewController that takes 3 params: question index, question content (to be displayed), response (to be chosen). Application begin with first question then go next for another question. The answers will be saved into a Dictionary.
If one question is shown at a time with yes/no, I'd use UIAlertView control personally. This way you can use many different dialogs, Here is Apple Developers Reference on UIAlertView:
https://developer.apple.com/library/ios/documentation/uikit/reference/UIAlertView_Class/UIAlertView/UIAlertView.html
If you have multiple selections or multiple choice questions use UIActionSheet. See my SO answer:
Creating UIActionSheet
I had the exact same problem 1 year ago and I used a self-looping UIViewControllers (I'm not a huge fan of storyboard). I didn't see any problem with that. With proper data structures set up, you can very easily allow user to answer/go back/exit.

Customized drop down for top bar [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I'm looking for information about how to make a navigation bar with drop down functionality similar to the big iPad apps like on the picture below. It looks like they are using the same elements.
Is there some kind of support in iOS7 for this? Or any third-party implementation?
I've tried searching but I can't find anything that looks similar to the picture posted.
That's a popover, managed by a UIPopoverController

How to create a "Drop-Up-Menu"? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to create a drop up menu like this.
But I have no clue what it is called, so I can't look for it.
And by the way, are there others methods to create such a "more option"-menu? I know there is the UIPickerView, but if i have only 2 or 3 buttons to choose from it is fairly unnecessary to implement a whole pickview.
Thanks in advance!
David Wong is right, you always can use UIActionSheet for iOS 7 style drop menu, but if you want to use some cool custom controllers here's the list:
Drop menus
REMenu
LBActionSheet
NIDropDown
LHDropDownControl
kxmenu
Modal (cool ones)
KGModal
RNGridMenu
KNSemiModalViewController
But if you're just starting your journey of iOS development, you better stick with UIActionSheet.
Good luck!
That's a UIActionSheet
Just adds buttons and use the various show methods to bring it up. Don't forget to set the delegate to handle which button gets pressed.

Is there a library that helps in creating tutorials for using my iPhone app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I created an app and got some feedback that it isn't clear what it does and how. I understand that I need to create a tutorial that is shown on initial launch.
After searching for terms like "how to create a feature tour for an iOs app", or, "Make a tutorial for an ios app" - I was getting tutorials for creating ios apps...
Simple solution would be to test for initial launch, open the tutorial slides I created, and save a flag, but maybe there is a more elegant framework that could help with features related to that (like adding popovers, callouts, screen shots etc)
Does anybody know of any?
Depending on how complex your app is it can be easily done using an instructional overlay. An overlay would some what block the background while showing with arrows and text what the user can do in specific areas.

Resources