The Beautiful Mind

Monday, September 29, 2014

Remove subviews (if already exists)

if ([[self subviews] count]>0) {
        [[[self subviews] objectAtIndex:0] removeFromSuperview];

}

Posted by Jayprakash Dubey at 12:02 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: iOS programming

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Jayprakash Dubey
Profile : http://stackoverflow.com/users/1753005/jayprakash-dubey
View my complete profile

Blog Archive

  • ►  2018 (1)
    • ►  November (1)
  • ►  2017 (2)
    • ►  July (1)
    • ►  March (1)
  • ►  2016 (3)
    • ►  July (3)
  • ►  2015 (10)
    • ►  September (2)
    • ►  June (1)
    • ►  May (1)
    • ►  February (4)
    • ►  January (2)
  • ▼  2014 (62)
    • ►  October (16)
    • ▼  September (15)
      • Better way to check empty string
      • Check device for iPhone 5
      • Calculate Height of Text from Width of an UILabel
      • Load an Image from existing location and from URL
      • Remove subviews (if already exists)
      • Font, UIImage, Float Color Value, URL set as global
      • Invoke SOAP web-service
      • Convert NSString to UIImage
      • Convert long URLs into short (Bitly format)
      • Human Psychology
      • iOS interview question and answers
      • Zoom to particular location in iOS ArcGIS
      • iOS or Android, Confused what to start with?
      • Ten commandment for effective study
      • ArcGIS iOS : Add a number in circle
    • ►  August (4)
    • ►  July (26)
    • ►  March (1)

Total Pageviews

Picture Window theme. Powered by Blogger.