OK, I know that HIG do not recommend to show several UIPopoverControllers at a time but still... is it possible anyway?
I tried to show two popovers one near another but can't figure out how to do it: first popover closes when other one appears :/
Try the following link that will help you.
link
link
Related
I am a beginner in iOS development.
I followed this tutorial https://github.com/nrlnishan/ViewPager-Swift to implement a viewPager in my application.
Then I followed https://github.com/nbyn/MWAPopup/blob/master/README.md to implement a popup in the first view of the popup.
But the popup background doesn't appear as full screen.
This screenshot may explain more my problem.
Please help me.
You are showing the popup on the wrong UIViewController. show method shows the popup inside the UIViewController that is passed in as a parameter.
Also when using someones else's GitHub code or library, always look for the number of the stars for the repository since the most quality solutions are recognized by the community, especially solutions to the popular problems like popups. Try something like this https://github.com/Orderella/PopupDialog
I have a problem and would appreciate it if you would help me.
I made a app from this tutorial:
http://www.lonhosford.com/lonblog/2011/05/08/xcode-4-iphone-tutorial-mountains-of-the-usa-overview/?fb_comment_id=fbc_10150196924999637_19584378_10150363736289637#f20e4d75c4
It works great, but i need it without the search button. I want to see all the data when i start the app... without taping on the search button or anything else.
I am in the learning process and it would help me a lot if someone would answer.
On the link you will find all the codes i used in the app.
Thanks a lot!!
David R.
remove the button from the interface and just call the method associated with the tap of the button from your viewDidLoad.
I am trying to get a popup appear the first time an app is started. Just to give you an idea check the new version of foursquare. A small popup (like a comic) appear explaining where the checkin button is located. Then if you tap anywhere it goes away. I googled for the last hour but I have not found anything at all and I have no idea on how to do it.
Anyone can point me in the right direction?
Thanks in advance,
Umberto
You can show a customized UIlabel on app's load and then use performSelectorAfterDelay: and hide the label inside this method. For the tapping thing you can add a UITapGesture on your view to notify if some tap's occurred and hide the label if it's still there.
You can have a look at TapKu by Devin Ross http://www.cocoacontrols.com/platforms/ios/controls/tapku-alerts-with-images
iPhone page one is written.. as view based app, any simple "how to" to make a new page, and how to get a button to take me there?
Also looking for a "how to" make an info button/page to flip..
Anyone? Thx a lot :-)
If you're interested in flip behavior, take a look at the "Utility Application" template in Xcode.
This is a very broad question as there are many ways to show another view. I suggest you start with the ViewController Programming Guide for iPhone OS in order to narrow your question down to the type of view and transition you want to implement.
If you want to play with navigation between views, I would recommend starting with a navigation-based iPhone project and trying some code like in this answer to How do I reset a UINavigationController?
I've gone through most of the example code and I still need some help. I want to make an uber-simple app: show one screen at startup with a label and a button. click the button and we slide over to another screen (I suppose these are called views) which has another label and the "back" button in the top menu bar. I just want to click back and forth between the two screens.
How do I do this?
Take a look at the NavBar sample on Apple's Developer website. http://developer.apple.com/iphone/library/samplecode/NavBar/index.html
You'll need to use a UINavigationController to accomplish the "slide"/"back button" behavior you're talking about. It is as simple as you might think, as long as the app is setup correctly. Essentially, UINavigationControllers allow you to push and pop instances of UIViewController or subclasses thereof, and take care of the animation and view history tracking for you.
The best way to get started, by far, is just open XCode, choose "New Project", and start with the "Navigation-Based Application." Dig around that project for a while and I think you'll start to see clearly what needs to be done.
You can checkout how to get started with that using this tutorial: at wattz.net