Questions tagged objective-c

Explore the latest questions and answers asked by our top developers.

Why my TableView models how can I establish this Design even if I need multiple inheritance?

I am still confused inheritance so I need a instructive approach.I am not new with OOP, so you can go detail if you wish when you answer. Let me explain what I am trying to do. This is not maybe a good approach but I have to do like this because all project has depends […]

By roadRunner
Published
Categorised as inheritance, ios, objective-c, swift, xcode Tagged , , , ,

How can I establish this design in my project even if I need multiple inheritance for TableViewControllers?

I am still confused inheritance so I need a instructive approach.I am not new with OOP, so you can go detail if you wish when you answer. Let me explain what I am trying to do. This is not maybe a good approach but I have to do like this because all project has depends […]

By roadRunner
Published
Categorised as inheritance, ios, objective-c, swift, xcode Tagged , , , ,

Copy HTML to UIPasteboard with iOS 14

I have a simple react-native app that has some functionality to copy HTML to the global clipboard. I copied and made a minor modification to the react-native clipboard native module to change it from copying plain text to copying HTML. This code worked as expected with iOS 13, but since updating it doesn’t seem to […]

Xamarin binding C library params not working (variadic functions)

I need to use a C library and I got it to work on the emulator easily, but on an arm64 device only with some strange trickery. The issue is that C functions with … (variadic functions) do not pass values correctly from C# to the library. This is the C function, with … cmd_ln_t […]

By Toine db
Published
Categorised as Uncategorised Tagged , , ,

Custom `UITextField` subclass doesn’t appear on the screen

I am developing a flutter plugin. The library that I use with Swift has a UITextField subclass. I cannot show this subclass on the screen. It only appears on the screen when I try it with the UITextField object. How can I show this object on the screen? My Code dnmTextField = DnmTextField(frame: rc) dnmTextField?.autoresizingMask […]

By TurkC
Published
Categorised as flutter, flutter-plugin, ios, objective-c, swift Tagged , , , ,

React Native CallKeep isCallActive using CXCallObserver

I am using https://github.com/react-native-webrtc/react-native-callkeep to implement a VOIP app in React Native. It has a built in method for checking if a Call is going by passing the uuid to method isCallActive, it didn’t work correctly for me so i have implement my own native module to check using the same code with promise: RCT_EXPORT_METHOD(isCallActive: […]

By Waleed
Published
Categorised as callkit, ios, objective-c, react-native, swift Tagged , , , ,

Opening the iOS maps-app from my app crashes my app (when published only)

The following code works fine when debugging (it opens the iOS maps app). But when I publish the app to the app store – this crashes the app: (The code is in C#/Xamarin but I’ve found the method naming to be very similar to the original Swift/ObjectiveC naming.) public void CallMap(double latitude, double longitude, string […]

By ispiro
Published
Categorised as Uncategorised Tagged , , , ,

Why AVPlayer not stopping on the last frame of HLS streamed video?

I have used to stitchedStreamPlayer to play stream video. However, i am not able to stop on last frame of video. It is showing black screen. I set the property [player setActionAtItemEnd:AVPlayerActionAtItemEndPause]; still is not stopping video on the last frame. How should i stop on the last frame? Source: Ios Questions

By Ameet Dhas
Published
Categorised as avplayer, ios, objective-c, video-streaming Tagged , , ,

Embedding files in an iOS app (C++/Qt/cmake)

In an iOS c++/Qt application, I need to ship a few files and to keep them in their directory structure. For the Android version, we bundle a zip which we unzip on the target before creating the QApplication. On iOS, it seems that CMake is not capable of bundling files in a tree: https://cmake.org/cmake/help/latest/prop_tgt/RESOURCE.html#prop_tgt:RESOURCE https://cmake.org/cmake/help/latest/prop_sf/MACOSX_PACKAGE_LOCATION.html […]

By Denis Rouzaud
Published
Categorised as c++, cmake, ios, objective-c, qt Tagged , , , ,

UIApplicationDelegate openURL with multiple files

I’m trying to allow my app to open multiple files at the same time – e.g. select multiple with files app, then press “open in [my app]”. When I try this, sure enough UIApplicationDelegate openURL fires in my app, but I only get one URL. Is there a way of getting all the files, rather […]

By mazbox
Published
Categorised as ios, objective-c, uiapplicationdelegate Tagged , ,
1 6

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq