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 have a blank, transparent button which, when I drag left and right, and up and down, want a number to get incremented and decremented depending on how far away from the button the finger is.
Quite like the way the music app on the iPhone has the scrubbing feature, where you can get a more precise value?
This would require you to create a custom control heavily relying on gesture recognizers. I would advise you to search more on this topic.
Also, take a look here - http://oleb.net/blog/2011/01/obslider-a-uislider-subclass-with-variable-scrubbing-speed/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
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
Improve this question
I would like to create something like the image below in my iOS app. What is the best way to approach this, note the rows and the columns can vary.
The easiest way I thought of was to insert html table into UIWebView, but not sure if there is a way to intercept radio button clicks like there is for a regular button by making it a "href link"
A little unrelated to what you have as the title of your question, but maybe look at using UISegmentedControl. It's the closest thing to radial buttons that exists in the Objective-C world.
If you went with a segmented control, you no longer need to worry about columns, intercepting touches, and a lot of the other problems you mention in your Question - it could all be done in a normal UITableView. You would have to create some custom UITableViewCell subclasses to get the segmented controls in, but there are a lot of good tutorials (YouTube, Apple Docs, SO) on how to set those up.
From iOS 6+ you could use the UICollectionView class to build up a grid. Managing the values in the data source (representing if a radio is checked or not) is something you'd have to implement yourself.
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
Is there any way to display the small(about 5-6 lines) text on the iPhone lock screen. I have searched this topic on google but didn't find anything.
And also is there any way to display the text on the springboard rather than notification.
I'm not clear what exactly you are asking for, I'm assuming that you are questioning about push notification as like shown in the image.
If so, refer the link to proceed: click here
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 need to implement the animation same as appeared at the starting of flipboard iPhone app. I found couple of links for that:
https://github.com/mpospese/MPFoldTransition
https://github.com/Dillion/iOS-Flip-Transform
https://github.com/Reefaq/FlipView
But these all are for the simple view not with the gallery. Can anyone give me some idea that how to implement the flip animation with gallery?
Have you tried this https://github.com/mtabini/AFKPageFlipper
Provides following data source
-numberOfPagesForPageFlipper: returns the number of pages to be displayed.
-viewForPage:inFlipper: returns the particular view to be displayed in the flipper for a given page number.
Hope it helps
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
Trying to use an info button in an iOS app. Wondering if anyone knows how to simulate the glow effect when you click on it.
See for example the weather or stocks apps in an iPhone; when you touch it, their is a glow highlight around the touch. Touch and hold to see it.
UIButton has a property called showsTouchWhenHighlighted. By default this is set to NO.
If you set it to yes you will get the glow effect when the button is highlighted.
You can set this in Interface builder by checking the "Shows Touch on Highlight" option.
Or you can do it in code with:
infoButton.showsTouchWhenHighlighted = YES;
This applies to all UIButtons, not just to info ones.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
guys. I need to implement our designer's model. Here, he has moved the search bar to the bottom on the screen and whenever the keyboard appears it is moved to the top of the keyboard. Now I would like to keep the UISearchDisplayController to get all the filtering functionallity. But seems it's not possible to change the searchbar and keep it there. I could adjust the initial frame, but then when editmode comes. The bar is lifted to top of the screen. Has anybody done this before? Or maybe an alternative control that I could use?.
Thanks a lot.
You cannot use a UISearchDisplay in your case, you will need to implement the component yourself from scratch. The good thing is that you can use a UISearchBar for that, and just implemente yourself the behaviour using the delegate.
UISearchBar