UITextView in IOS7 need to know about placeholder [duplicate] - ios7

This question already has answers here:
Placeholder in UITextView
(63 answers)
Closed 8 years ago.
IOS 7 UITextView, is there any way to show placeholder in IOS 7 UITextView?

There is no native functionality, but You can make your own class,
See this ans
Placeholder in UITextView

Related

two recyclerview in scrollview does not works properly [duplicate]

This question already has answers here:
RecyclerView inside ScrollView is not working
(26 answers)
Closed 6 years ago.
As you know after support library 23.2 when you put recyclerview inside scrollview as wrap_content then the scroll events work properly by using setnestedscrollviewenabled(false). But if there is a two recyclerview in a one scrollview then the second recycylerview does not wrap to its content size. Is there a way to achieve it?
i solved it by using NestedScrollView insted of ScrollView on the root element of layout.

Custom view in MAC OSX app with XIB file [duplicate]

This question already has answers here:
NSTableView with Plus and Minus buttons
(4 answers)
Closed 9 years ago.
I have worked with iOS but I am quite new to MAC OSX development. I am trying to design the screen as shown below in XIB file. I understand the left one is a table view with custom cells in it. What kind of view the bottom tool bar with +/- button is? Also, is the view on the right side is inside Box NSView?
How we do design the similar view with XIB file.
Look at this picture. Hope it helps you to make similar UI in interface builder.

How to show a picture with a transparent background (like png) when the app loads in cocoa? [duplicate]

This question already has answers here:
How to show a splash screen during launch of a Cocoa app?
(4 answers)
Closed 9 years ago.
One example is photoshop, when the application starts up, a really nice picture with a transparent background shows up. how can I achieve the same result while building my own application? Thanks a lot!
If you're wondering how to get a custom-shaed window, rather than simply how to display it at launch, the RoundTransparentWindow example code provided by Apple shows how you can achieve this.

Query Touch Capabilities for Winrt App [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Detect whether a Windows 8 Store App has a touch screen
For WinRT apps, is there a way to query if the device running the App supports touch or not? I ask because I have on screen controls for a game that aren't needed if you don't have touch.
Windows.Devices.Input.TouchCapabilities should do it.
var t = new Windows.Devices.Input.TouchCapabilities();
bool hasTouch = t.TouchPresent != 0;
There's a sample on the dev center as well.

Programmatically mute the iPhone ringer [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Is it possible to programmatically mute the iPhone?
Is it possible to programmatically mute the iPhone ringer in a way that Apple won't reject the app?
No.
If you are not concerned about Apple's approval, then you can do with with AVSystemController