Hiding Menu on appear in UIWebView/UITextView/UITextField

sugartin hide UIMenu on appear 2

Hi All ! Sometimes, Developer may want to restrict users to copy some data from their app. Most of the time, for displaying rich-media-contents, developers use UIWebView. But UIWebView comes with default behaviors. We eliminated one of the default behavior … Continue reading

Creating customized MoviePlayer in iPhone & iPad both

imgres

Hello All ! You might have seen the application “Livestation” for iPad & iPhone. If you haven’t heard about it, just google once. I am going to demonstrate “How to build the customized user interface for MPMoviePlayerViewController?” Just go through entire steps … Continue reading

Creating customized MoviePlayer in iPhone & iPad both

imgres

Hello All ! You might have seen the application “Livestation” for iPad & iPhone. If you haven’t heard about it, just google once. I am going to demonstrate “How to build the customized user interface for MPMoviePlayerViewController?” Just go through entire steps … Continue reading

An AVPlayerItem can occupy only one position in a player's queue at a time

imgres

While playing a video using MPMoviePlayerViewController or MPMoviePlayerController, iOS SDK 5.2 generates an error as follows. An AVPlayerItem can occupy only one position in a player’s queue at a time. The exact error is as follows. *** Terminating app due … Continue reading

An AVPlayerItem can occupy only one position in a player’s queue at a time

imgres

While playing a video using MPMoviePlayerViewController or MPMoviePlayerController, iOS SDK 5.2 generates an error as follows. An AVPlayerItem can occupy only one position in a player’s queue at a time. The exact error is as follows. *** Terminating app due … Continue reading

Detecting Network Status

Grab the sample code from here from Apple. 1) Add SystemConfiguration.framework into your project. 2) Drag & Drop 2 files Reachability.h & Reachability.m files into your project. 3) Go to your classXYZ.h file & declare – @class Reachability 4) Create … Continue reading