GCKUIbutton क्लास
    
    
      
    
    
      
      संग्रह की मदद से व्यवस्थित रहें
    
    
      
      अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
UIButton की सब-क्लास, जो ऐप्लिकेशन के कस्टम स्टेटस के साथ काम करती है. 
ये स्थितियां, ऐप्लिकेशन के हिसाब से अलग-अलग स्थितियां देने के लिए, बटन की state प्रॉपर्टी की वैल्यू पर ओआर्ड की जाती हैं. इमेज को इन कस्टम स्थितियों के लिए असाइन किया जा सकता है, उदाहरण के लिए: 
[बटन सेट इमेज:[UIImage ImageNamed:@"myCustomStateImage"]
                            forState:(UIControlStateGeneral | kMyControlStateCustom)];
 ऐप्लिकेशन की स्थिति की वैल्यू में सिर्फ़ उन बिट का इस्तेमाल किया जाना चाहिए जो UIControlStateApplication बिटमास्क में सेट किए गए हों.
- Deprecated:
 - GCKUIMultistateButton का इस्तेमाल करें. 
- से
 - 3.0 
 
 
 
GCKUIMultistateButton को इनहेरिट करता है.
      
        
          | - (void) setImage:  | 
           | 
          (UIImage *)  | 
          image | 
        
        
          | forButtonState: | 
           | 
          (NSUInteger)  | 
          buttonState  | 
        
        
           | 
           | 
           |  | 
        
      
 
बटन की किसी दी गई स्थिति के लिए इमेज को सेट करता है. 
- Parameters
 - 
  
    | image | The image.  | 
    | buttonState | The button state.  | 
  
   
 
 
  
  
      
        
          | - (UIControlState) applicationState | 
         
       
   | 
  
readwritenonatomicassign   | 
  
 
बटन के ऐप्लिकेशन की स्थिति. 
यह स्थिति बटन की मौजूदा स्थिति पर OR के रूप में दी जाती है. 
 
 
  
  
      
        
          | - (NSUInteger) buttonState | 
         
       
   | 
  
readwritenonatomicassigninherited   | 
  
 
बटन के ऐप्लिकेशन की स्थिति. 
 
 
 
  
  
  
 
  
    
    
    
  
  
  जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
  आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
  
  
  
    
      [[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["The GCKUIButton class, a subclass of UIButton, supports custom application states via the `state` property. Custom states are combined with the button's existing state. Images can be assigned to these custom states using `setImage:forButtonState:`. The `applicationState` property is ORed onto the button's state. The  `buttonState` represents the button's state.  Application states should use only bits within the `UIControlStateApplication` bitmask. The GCKUIButton is deprecated, and developers should use GCKUIMultistateButton instead.\n"]]