Post

Replies

Boosts

Views

Activity

Launch Screen Appears again later in app on changing orientation while launching App
STR:- Launch the App in portrait mode change orientation to landscape mode once the launch screen is displaying launch screen disappears as expected and the user redirects to the home page launch screen appears again on the top of the home screen and covers half screen. we do not have code related to handling the launch screen. we just add an image on the launch screen. SS - Device config - iOS Version - 16.3.1. Model - iPhone 11 Note:- This is not device-specific. we are facing in our other devices too.
0
0
319
May ’23
How to differentiate that carrier is e-sim or physical sim
we were using the below code to fetch the carriers in the device. Now we need to differentiate between e-sim and physical sim. Please confirm how we can achieve that.  let info: CTTelephonyNetworkInfo = CTTelephonyNetworkInfo()   if #available(iOS 12.0, *) {    if let carriers = info.serviceSubscriberCellularProviders?.values, carriers.count > 0 {     for carrier in carriers {      if let carrierName: String = carrier.carrierName, carrier.mobileCountryCode != nil, carrier.mobileNetworkCode != nil {      carrierNames.append(carrierName)      }     }    }   }
2
0
1.2k
Sep ’22
App Extension : Undefined symbols for architecture arm64
I am trying to install pods into AppExtension target with target 'NotificationService' do     pod 'CleverTap-iOS-SDK', '~> 3.10.0', :modular_headers => true end This pods are also added to my main app target and working fine. But when I try to install same pods to Notification Service extension, I am running into Unity library related error (90 error of same kind for libiPhone-lib.a). Undefined symbols for architecture arm64:   "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::imbue(std::__1::locale const&)", referenced from:       vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in libiPhone-lib.a(CrashReporter.o)   "std::__1::basic_streambuf<char, std::__1::char_traits<char> >::setbuf(char*, long)", referenced from:       vtable for std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> > in libiPhone-lib.a(CrashReporter.o) These errors are not coming if I add same pods to main Target. Also, Unity is not installed on any Extension, just on main Target. I wonder if I have to add/remove any library or header paths from extension by which it doesn't consider Unity inside extension project. Screenshots of settings attached for reference.
1
1
1.5k
Nov ’21