I used ActionSheetDatePicker of Tim Cinel (in github) and got a problem when use date picker, I can't interact with date picker control when test on device (only device!), I can still press "Done" button to dismiss the action sheet. Bellow is screen shoot of ActionSheetDatePicker:
Note: my app used navigation controller, maybe this is reason, but why :(
Related
This is simple one though:
I'm having XCode 4.2 with iOS beta7. I am just trying a to have to views with one button in first view. On click of button, it will show next view.
In many tutorials, when I click and drag the button to next view, it will show "performSegueWithIdentifier:sender:" view.
But in my interface builder, its showing "Storyboard Segues with Push, Modal, Popover, Custom......"
I don't know whether I'm doing wrong or its the behavior of the xcode itself....
can some one suggest me good tutorials for iOS5 storyboard please?
Yes, you doing everything right. Push, Modal are types of showing next screen (UIView). You need to select it according Human Interface Guidelines from Apple.
Here's the deal:
I have a navigation-based project with a menu screen as the root view. When I tap a button on the menu screen, the navigation controller pops a KalViewController onto the stack (kal calendar).
The calendar appears, and for about a 6 second period the calendar is downloading JSON data from the internet to populate the calendar with events. However, if the user taps Back (to go back to the main menu) during this time, the app crashes or the calendar continues to load the data even when I am on the main screen. (evidenced by the network activity indicator continuing to spin)
1-- I was wondering if there is any way, when I tap the Back button, to cancel that download process so that my objects will release properly? (maybe using threads??)
OR
2-- Somehow prevent the user from tapping the back button while the data is still downloading. (Similar to how a UIAlertView prevents a user from clicking anything on the screen except for 'OK' to dismiss the alert message)
PLEASE help! Thank you very much in advance!
Sorry another newbie question that I couldn't seem to find an answer to on google. Guess I don't know how to describe it well enough.
On the calendar app for the iphone, when you go to add an event, if you select from the repeat, invitees, alert sections and so forth, you are brought to a screen with some choices for the field.
Is this simply navigating to a new view controller on the tap which displays these choices, or is there an pattern that you can implement for this out of the box?
It's just a garden-variety UITableViewController that's pushed onto the navigation controller's stack.
It's probably passed either a reference to the event object or a delegate it can send a message to to set the selected value when "Done" is tapped.
I have a few different views in my App, all of which are viewed by tapping different buttons. All the buttons work on the simulator, but when I run the app on the device only one button does not work. I went over and over my code and re coded that one button and re-connected it in IB to make sure that i did not mess something dumb up, but it still freezes my app.
When the bad button is tapped the App will freeze but not shut off and the only way to unfreeze it is to press the home button.
Any thoughts on why this might be happing only to this one button?
I got it! It was something really dumb! In the view that is loaded when the button is tapped there is a picker. What was happening is that I have a BOOL value that needs to be set to true when the button is tapped and I forgot to set it. Without that BOOL value being set the picker was not being loaded the right way.
I would like to write a simple image browser. User taps a button, UIImagePicker springs up, user selects photo, large detail gets displayed, user taps a ‘back’ button and is back in the picker. Everything is quite easy except the last part, the returning to the picker. The picker is a modal view, so that I have to dismiss it in order to display the picture detail. Once I dismiss it, though, I cannot easily return to it. (I’d have to reopen it and user would get back to the index instead of the last album open.) I tried keeping the picker open, but then my navigation controller’s pushViewController method does not work when I try to push the picture detail. What am I doing wrong? How would you write such a simple gallery?
Oh, that was easy. I have to push the picture detail onto the picker, not on the main navigation controller.