I'm programatically trying to add a label to the collection view when the collection view is empty so let the user know that the collection view is empty. I created a function to do this. However, whenever the collection view isn't empty anymore, I can't get the label to disappear, does anyone know how I can change this. Here is my code:func EmptyCollectionView() { if communities.count == 0 { let messageLabel = UILabel(frame: CGRect(x: 20.0, y: 0, width: self.collectionViews!.bounds.size.width - 40.0, height: (self.collectionViews?.bounds.size.height)!)) messageLabel.text = You haven't created anything yet! messageLabel.font = messageLabel.font.withSize(20) messageLabel.font = UIFont.boldSystemFont(ofSize: messageLabel.font.pointSize) messageLabel.textColor = colorCircleBlue messageLabel.numberOfLines = 0 messageLabel.textAlignment = NSTextAlignment.center messageLabel.sizeToFit() self.collectionViews?.backgroundView = messageLabel } else { addPhoto() } }
                    
                  
                Search results for
        build disappears
49,446 results found
  
    
    Selecting any option will automatically load the page
  
  
  
  
    
  
  
            
        Post
Replies
Boosts
Views
Activity
                    
                      Xcode show build uploaded successfully, But in iTunes Connect it not showing. It show some time on iTunes connect on all build section then it disappear and not showing any build. In last 15 days we have been trying to uploaded the build on iTunes Connect and still facing that issue.
                    
                  
                
                    
                      check out this answer From real life tests I realized the following: if the user removes the app in the first week after reviewing it, the review will disappear if the user did not open the app at least two times in the first week of installation, the review will disappear if the user install the app and review it before opening the app, the review will disappear
                    
                  
                
              
              
                
                Topic:
                  
	
		App Store Distribution & Marketing
  	
                
                
                SubTopic:
                  
                    
	
		General
		
  	
                  
                
              
              
                Tags:
              
              
              
            
          
                    
                      Where is the text you want to make disappear ? Inside a textField ? Where is this textField declared ?i want the keyboard to disappear when the user tap the screen (user only can see the keyboard when tap UITextFieldWhat is the Default View you mention ?maybe it was silly to mention Default 'view' what i meant for that is when you create a 'View Controller' comes with a blank screen and if you see it in the 'Document Outline it saysView Controller Scene View Controller View Safe Area First Responder ExitWhy would it call textFieldShouldReturn(_ textField: UITextField)i don't know i as far as i know i should put those two to make the text disappear and call it back (i read it in some place and always do it)Why would it make the text disappear ?i just want the keyboard to disappear not text
                    
                  
                
              
              
                
                Topic:
                  
	
		UI Frameworks
  	
                
                
                SubTopic:
                  
                    
	
		UIKit
		
  	
                  
                
              
              
                Tags:
              
              
              
            
          
                    
                      We have noticed a issue where TouchID authentication screen disappears when any system alert like OS update screen etc. is in foregroundSteps to reproduce the issue.- Device displays any system alert like Location settings, Carrier settings, OS update etc. Do not act on the alert.- Lock the device screen.- Now trigger a remote push notificaiton to the device.- on Lock screen swipe the notification, so that teh application will be launched and becomes active. In applicationDidBecomeActive call back, try to launch TouchID screen using LAContext.Now, we do not see the touchID screen.Basically we want to do TouchId authentication when user launches the app by swiping the push notificaiton on lock screen.Is there any one who faced this issue? Any possible solution?
                    
                  
                
                    
                      Right Xcode beta 4 still has the problem. I discovered that to reproduce the problem you don't even need to submit through TestFlight. Just building in Xcode as release (vs debug) causes widgets to disappear. I have also tried the dead-code stripping settings in build settings for the target and changing that does not fix the problem either. Given that HomeWidgets is an important feature of iOS 14, it's strange that Apple has not tested this once and even stranger that after filing bug reports against beta 3, they still have not fixed the problem in beta 4.
                    
                  
                
              
              
                
                Topic:
                  
	
		App & System Services
  	
                
                
                SubTopic:
                  
                    
	
		General
		
  	
                  
                
              
              
                Tags:
              
              
              
            
          
                    
                      Hello, I used AVPlayer in my project to play network movie. Most movie could play normally, but I found the sound will disappear sometimes if I play specified 4K video network stream. The video will continue playing but audio stops after video is played for a while. If I pause player and then resume, the sound will be back but disappeared again after several seconds Check AVPlayerItem status: isPlaybackLikelyToKeepUp` == true isPlaybackBufferEmpty` = false player.volume > 0 According the value above, it seems not cause by empty playback buffer or volume issue. I am so confused for this situation. Movie information Video Format : AVC Format/Info : Advanced Video Codec Format profile : High L5.1 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Bit rate mode : Variable Bit rate : 100.0 Mb/s Width : 3 840 pixels Height : 2 160 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 29.970 (30000/1001) FPS Audio Format : AAC LC Format/Info : Advanced Audio Codec Low Com
                    
                  
                
                  
                    
                      
                      
                      
                      
                      
                      TestFlight uploaded successfully but disappear after few minutes, not receiving any email from apple
                    
                  
                  
                    
                      
                    
                  
                
                
                    
                      I have uploaded a lot of version on TestFlight and all of them not showing, is there a mistake from testflight side, I have try a lot of workaround way but it still disappear
                    
                  
                
                    
                      Hello,I've a very strange behavior with one of my developed applications installed from the AppStore when updating from iOS 9.2.1 to iOS 9.3 beta 3: the application disappears from the home screen.I cannot access the application anymore and, if I reinstall it, the persistent storage has been erased.When I inspect the device logs just after the update to iOS 9.3 beta 3, I can see the following line with the application which have the problem:containermanagerd[75] <Notice>: 0x1f081000 __83 - [MCMCodeSigningMapping _migrateCachedCodeSigningInfoFromBundleContainersToMapping]_block_invoke: Migrating code signing info for com.my_application_with_the_problemWith the application which doesn't have the problem, I can see the following logs:containermanagerd[75] <Notice>: 0x1f115000 - [MCMCodeSigningMapping _onQueue_codeSigningInfoForIdentifier:externalRequest:]: Migrating code signing info from bundle container upon request for com.my_application_without_the_problemcontainermanagerd[75] <Notice
                    
                  
                
                    
                      Hi Apple, Thanks for your reply, i tried to use withUnsafeMutablePointer and the crash disappeared. but we did not figure out the root causes: Why it crashed when building with Release configuration and using Xcode15.3 or newer Xcode versions including Xcode beta 16.1? Why it does not crash when building with Release configuration and using Xcode15.2? Why it does not crash when building with Debug configuration and using any Xcode versions? Why it does not crash if it goes into an extra logic if isUsingCharFilter is true? for more detail see If we do not figure out the root cause described above, it has big risk. cause it maybe a bug of Xcode15.3 and newer Xcode versions. Please help to figure out, thanks for your help.
                    
                  
                
              
              
                
                Topic:
                  
	
		App & System Services
  	
                
                
                SubTopic:
                  
                    
	
		General
		
  	
                  
                
              
              
                Tags:
              
              
              
            
          
                    
                      I have a simple UITextView with a custom NSLayoutManager in my app. The UITextView have a tap gesture and when you tap on UITextView it animates off the screen. My problem is that when you tap on the UITextView the entire text disappears. After debugging for a while I think it has something to do with NSTextContainer which I pass to the UITextView because If I don't pass it everything works fine. I thought it had to do something with my custom NSLayoutManager but then I tested it with a default NSLayoutManger and it is still giving the same issue. Can you please tell me what is going wrong? I have attached a sample code for your reference. I have slowed down the animation so can see what is wrong. class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() setUpTextView() } private func setUpTextView() { let rect = CGRect(origin: CGPoint(x: view.frame.origin.x, y: view.frame.origin.y + 50 ), size: CGSize(width: view.frame.width, height: view.frame.height - 50 ) ) let te
                    
                  
                
                    
                      Kind of a strange bug I see in an app app i'm working on. My guess is that maybe something going on with Core Animation + Appkit, though I'm not quite sure. Anyone hit this before?
                    
                  
                
                    
                      Hello, We have localized the app page to Spanish(MX), Czech and German. Now on the app page in App Store Connect, these countries are displayed in the list. But after app release, in the app information section, these countries are not appear. Please can you help us to find out, what happened? And how can we make this countries to appear in our localization list. Thanks!
                    
                  
                
              
              
                
                Topic:
                  
	
		App Store Distribution & Marketing
  	
                
                
                SubTopic:
                  
                    
	
		App Store Connect
		
  	
                  
                
              
              
                Tags:
              
              
  
  
    
      
      
      
        
          
            App Store Connect
          
        
        
      
      
    
      
      
      
        
          
            Localization
          
        
        
      
      
    
  
  
              
                
                
              
            
          
                    
                      Hi, i have an old popover status bar mac app that i didn't check in the past few macOS releases, so don't know when the problem appeared. On Sonoma i have the following problem: All NSTableViews cells when they are reused the second time, they are blank. The cells are of type view and only one column. If i investigate in the Xcode's view hierarchy I indeed see no subviews in the cell, but if i print the subviews and their frames and their visibility, they are there alright, they exist. All the cells are instantiated from nib and I tried few strategies to use them: register the cell in the tableview and load it with tableView.makeView(withIdentifier: ) no registration, just load them from xib and keep a reference to their instance and feed that to the table when asked no registration, load them from xib when the table asks. This solution actually works but i really need a reference to them that doesn't change, it's a settings screen and someone else is feeding some info to this cells. I'm stuck, I have no idea
                    
                  
                
              
              
                
                Topic:
                  
	
		UI Frameworks
  	
                
                
                SubTopic:
                  
                    
	
		AppKit
		
  	
                  
                
              
              
              
  
  
    
    
  
  
              
                
                
              
            
          
                    
                      My team recently released an app to the iOS app store. We are trying to add the Smart App Banner to our website to promote the app, but the banner is not shown. When the page loads, there is a flash of an empty Smart App Banner before it is automatically dismissed. This happens on every page load. If I put use an app ID of other apps the banner appears. I've triple checked that I'm using the correct app ID. So it seems like it is an issue with my app. I can see my app in the App Store, so I know it's available. I've tested on multiple phones.