iOS 7 static table view selection style bug - static

I think I found a little iOS 7 bug..
If you have a static table view as a part of a navigation view controller and the user use the swipe back gesture to get one level back, the selection highlight doesn't dismiss!
(if the user press the back navigation bar button the selection dismiss normal)
Does anybody also detect this bug?
Does anybody has a fix for that?
Thank you a lot

A quick fix for this could be:
[tableView deselectRowAtIndexPath:[tableView indexPathForSelectedRow] animated:YES];
inside the viewDidAppear method. (not tested)

Related

TextField getting content cleared out on backspace

I have set-up in a storyboard a view that contents two textfields: one with secure option turn on and an other without.
I have set-up the content of those textfields in the viewDidLoad method of the associated viewController. If I select the textField with secure note turned on then select the other one and click the backspace all its content of this latter gets clear out. It is not happening if I select directly the textfield with no secure option the first time.
Does anyone have a clue of this behaviour?
It looks like this is a bug that appeared on iOS6 and related to changes introduce with UITextField where other people have also observed changes in behavior between iOS5 and iOS6; see this post: (Backspace functionality in iOS 6 & iOS 5 for UITextfield with 'secure' attribute)

UICollectionView Tutorial Request

Looking for a tutorial or help doing the following
Keep it as an iPad App and using Storyboards. I need a (this is my Main) viewController (No Detail or Navigation View) with a popover that displays a UiCollectionView (and the Cells) of images). I want a ContainerView inside my main). The Container displays a default imageView and selection from the CollectionView, changes the Image in the Container. Also, the segue from the CollectionView Cell to the Container's Imageneeds to be of Custom Segue Type.
Remember, it's for an IPad, with Storyboard. No detail or Navigation Controller.
How's that for a Tutorial. There is nothing else like it right now and I could sure use the help.
Doug
This one appears pretty good.. The code is also sitting on github..
Tutorial: http://maniacdev.com/2012/09/tutorial-how-to-create-an-ios-6-uicollectionview-using-storyboards/
Source: https://github.com/AshFurrow/UICollectionViewExample
Yet another UICollectionView tutorial

WP7 - Is it possible to automatically launch the camera capture without a button press?

I'm using this code to grab barcodes from the camera:
http://blogs.msdn.com/b/stephe/archive/2011/11/07/wp7-real-time-video-scan-a-barcode-qr-code-in-your-app-using-zxing-lib.aspx
It works fine if it is called from a button press, but if you put it in page load nothing happens, I assume this is a security feature?
Is there any way around it?
Thanks
All must be Ok with Loaded event. Maybe you put code inside constructor instead...

Interface to have transition when button is pressed

i used the solution from Setting focus to a PanoramaItem and i managed to get the result - when a button is click, it jumps to a panorama item/page. However the transition is just a disappear/appear, rather than the "sliding effect".
My question is to how am I able to have the transition with the button being pressed. Thank you in advance!
The Silverlight Toolkit includes some transitions you can use.
Read more (including examples) at http://www.windowsphonegeek.com/articles/wp7-transitions-in-depth--key-concepts-and-api
Update
Those (in the youtube link) look like the transitions created by Kevin Marshall and are also part of WP7Contrib.

Google like SearchBox in Silverlight

I've created a Google like SearchBox control in Silverlight. That means, as I type in the box, a DropDownListBox appears just below the SearchBox, showing all the items that match with the text I've typed in searchbox so far (i.e AutoComplete feature), exactly like this:
Now, I want to add a functionality to it : I want to make the DropDownListBox to disappear, as soon as user clicks outside it, or anywhere on the screen. I cannot handle MouseLeftButtonDown (or any such event) in other controls, to accomplish this, because users can click anywhere, including non-silverlight region. Can anybody suggest me what should I do to achieve this?
So my question basically is:
How to know if user has just clicked and the click event occurred outside a particular control?
Please note that AutoCompleteBox doesn't serve my purpose. So I cannot use it.
I have a feeling that working with LostFocus event can solve your problem.
I guess this question is a bit old, but i just stumble upon trying to do the same and finding a solution. This is what i did
Created a Border with All Margins -500, this will cover the full screen essentially.
On Click Behaviour of this Border, the dropdown section of SearchBox
is collapsed.
Adjust z-Index of Border just below the SearchBox and DropDown
section, so clicking on SearchBox or DropDown wouldn't close it.
Set Border Visibility Collapsed, and make it visible when DropDown is Visible.
I hope it helps someone who is looking for the similar problem.

Resources