Post

Replies

Boosts

Views

Activity

M series Mac - TestFlight does not show Install option for iPad app on MxMac
Our users install our iPad app on their M1 macs from AppStore. But, when we build the TestFlight app, I was expecting TestFlight would show Install button for iPad app. But it doesn't. Still, it shows it requires M1 mac. Our users are on M1 mac. Still, no button to install. I don't see an option to add macOS app in TestFlight (please see first image) Can someone please help?
0
0
246
Oct ’24
iPadOS 18 - Move Tab Bar to bottom
As iPadOS 18 shows Tab Bar on top (tvOS'esq), can someone please tell me what changes do I need to make to get tab bar shown as a regular one (Pre iPadOS 18 style)? Tab bar being at the bottom is easily accessible. And, it being on top needs too much of hands movement. That being on top is is occupying, in a way, more screen real estate. Any ideas appreciated. Thank you.
5
3
2.2k
Sep ’24
iOS 17 Beta crash: -[NSCountableTextLocation compare:] receiving unmatching type (null)
Unable to find where this is happening... *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCountableTextLocation compare:] receiving unmatching type (null)' *** First throw call stack: ( 0 CoreFoundation 0x000000012083f88a __exceptionPreprocess + 242 1 libobjc.A.dylib 0x0000000117674894 objc_exception_throw + 48 2 CoreFoundation 0x000000012083f768 -[NSException initWithCoder:] + 0 3 UIFoundation 0x000000014ee60aa5 -[NSCountableTextLocation compare:] + 200 4 UIFoundation 0x000000014ee25919 -[NSTextLayoutManager _invalidateLayoutForTextRange:hard:] + 1573 5 UIFoundation 0x000000014ee26102 -[NSTextLayoutManager processLayoutInvalidationForTextRange:synchronizing:] + 32 6 CoreFoundation 0x00000001207a01bd __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 7 7 CoreFoundation 0x0000000120721d57 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 285 8 UIFoundation 0x000000014ee83e49 __54-[NSTextContentManager synchronizeTextLayoutManagers:]_block_invoke + 78 9 CoreFoundation 0x00000001207a01bd __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 7 10 CoreFoundation 0x0000000120721d57 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 285 11 UIFoundation 0x000000014ee83dc6 -[NSTextContentManager synchronizeTextLayoutManagers:] + 85 12 UIFoundation 0x000000014ee85f51 -[NSTextContentStorage synchronizeTextLayoutManagers:] + 61 13 UIFoundation 0x000000014ee84780 -[NSTextContentStorage setAttributedString:] + 162 14 UIFoundation 0x000000014ee84488 -[NSTextContentStorage dealloc] + 29 15 libobjc.A.dylib 0x0000000117672228 _ZN11objc_object17sidetable_releaseEbb + 204 16 UIKitCore 0x000000013f3d5297 -[_UITextKit2LayoutController .cxx_destruct] + 94 17 libobjc.A.dylib 0x0000000117652766 _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class + 83 18 libobjc.A.dylib 0x000000011766adfc objc_destructInstance + 61 19 libobjc.A.dylib 0x000000011767176c -[NSObject dealloc] + 19 20 UIKitCore 0x000000013f3ceb68 -[_UITextKit2LayoutController dealloc] + 119 21 libobjc.A.dylib 0x0000000117672228 _ZN11objc_object17sidetable_releaseEbb + 204 22 UIKitCore 0x000000013fee4aea -[UITextField .cxx_destruct] + 343 23 libobjc.A.dylib 0x0000000117652766 _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class + 83 24 libobjc.A.dylib 0x000000011766adfc objc_destructInstance + 61 25 libobjc.A.dylib 0x000000011767176c -[NSObject dealloc] + 19 26 UIKitCore 0x000000013fade794 -[UIResponder dealloc] + 145 27 UIKit 0x0000000171b2e9ef -[UIResponderAccessibility dealloc] + 55 28 UIKitCore 0x00000001401311e4 -[UIView dealloc] + 1330 29 UIKitCore 0x000000013fec9441 -[UITextField dealloc] + 272 30 libobjc.A.dylib 0x0000000117672228 _ZN11objc_object17sidetable_releaseEbb + 204 31 CoreFoundation 0x000000012085cf54 __RELEASE_OBJECTS_IN_THE_SET__ + 144 32 CoreFoundation 0x000000012085ce7d -[__NSSetM dealloc] + 130 33 libobjc.A.dylib 0x0000000117672228 _ZN11objc_object17sidetable_releaseEbb + 204 34 UIKitCore 0x0000000140026766 -[_UILayoutArrangement .cxx_destruct] + 128 35 libobjc.A.dylib 0x0000000117652766 _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class + 83 36 libobjc.A.dylib 0x000000011766adfc objc_destructInstance + 61 37 libobjc.A.dylib 0x000000011767176c -[NSObject dealloc] + 19 38 UIKitCore 0x000000014001d85e -[_UIAlignedLayoutArrangement dealloc] + 325 39 libobjc.A.dylib 0x0000000117672228 _ZN11objc_object17sidetable_releaseEbb + 204 40 CoreFoundation 0x0000000120725152 __RELEASE_OBJECTS_IN_THE_ARRAY__ + 124 41 CoreFoundation 0x000000012072508f -[__NSArrayM dealloc] + 130 ... ...
4
4
2.1k
Jul ’23
layer.cornerRadius works in viewDidAppear but not in viewDidLoad
We have classes BaseTextField and BaseButton. txt1 and btn1 are objects of the above classes respectively. This below code works in viewDidAppear, but not in viewDidLoad. txt1.layer.cornerRadius = 8.0 btn1.layer.cornerRadius = 8.0 btn1.titleLabel?.font = .boldSystemFont(ofSize: 17.0) In viewWillLayoutSubviews, only the button changes the layer but not the textfield. Can someone throw some light?
0
0
488
Apr ’23
Why "Open using Rosetta" is still needed to run on Simulator?
Hi, We ported our app to Apple Silicon and we often need to run our apps on simulator. But to be able to run on Simulator, I need to enable "Open using Rosetta". Also, under Build Settings → Architectures → Excluded Architectures, I have arm64. So, with out the need of enabling Open using Rosetta, how wold I be able to run the app on simulator and other platforms - iOS, iPadOS and macOS? Thank you!
5
0
7.5k
Feb ’23
How to find if a pinned certificate is expired when iOS SSL is pinned with info.plist
I SSL pinned our app in info.plist by following this Apple.com's link. I would like to show alert when certificate expired or handshaking expired. Can someone please tell me how can I use this method for that? func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void) { } <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSPinnedDomains</key> <dict> <key>OurAppDomain.com</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSPinnedCAIdentities</key> <array> <dict> <key>SPKI-SHA256-BASE64</key> <string>XYZXYZXYZXYZkdlkjs78YDIU787d9=</string> </dict> </array> </dict> </dict> </dict>
3
0
2.2k
May ’22
Present a UIPopoverPresentationController when a tab item is tapped on UITabBarController
I have an app with 5 tabs on UITabBarController. I want to show a menu (UIPopoverPresentationController) when I tap on last tab. And, when I tap on any Popover menu item, I want to navigate/push to the relevant UIViewController. Can someone please tell me how can I achieve this? Some one please direct me towards any delegate methods or something please?
0
0
533
Mar ’22
For the same file types, on Share Sheet, some apps show my app and some apps don't
My app is shown on share sheet when I try sharing PDFs or Images from apps like Box, Doximity and DropBox etc. But some apps like Google Drive does not show my app on Share Sheet. Even the "More" button or Edit actions would not show my app.  Screenshot is here: https://imgur.com/a/z94OG5l I have necessary items listed on plist file - NSExtensionActivationSupportsFileWithMaxCount and NSExtensionActivationSupportsImageWithMaxCount What would be the reason why some apps show and some don't? How do I fix it?
0
0
784
Jan ’22