ihate17 said " ... it would not surprise me at all that instead of the usual semi polite backoff that we run into, some casino decides that they have the right to detain and search you first before backing you off based upon the possibility that the cell phone in your pocket may have a blackjack program on it.
I hate to disillusion you, but they DO have the right to detain you and
have you arrested if your "iPhone" or "iPod Touch" has Card Counting software
installed on it and you had accessed it while within sight of a blackjack table.
The videotape showing you doing so would be confirmatory evidence.
It is abundantly clear that the miscreant using it to "backcount"
would be guilty of using a "cheating device", a felony in Nevada.
Casino security can and may indeed detain you - with "just cause"