Questions tagged as 'ios'

1
answer

How to receive remote notifications with Firebase

I'm trying to get notifications with firebase. I'm sending them with Cloud messaging from Firebase. Send the message but it does not appear in the notification tray. Doing tests and implementing the following method in the AppDelegate if you...
asked by 23.05.2018 / 17:03
1
answer

How to present a view with popover when pressing the button of a cell of a collectionView?

I have a view with a collectionView and it shows me several cells. Each cell has several buttons. In one of the cell buttons when pressed, I want to present another view as a 'popover'. I can not show the view, if I do it through the storyboa...
asked by 17.04.2018 / 17:40
1
answer

Remove top margin with a constraint in Top Layout

I have a Stack View in which I want to place it in the Top of a view that contains it but it leaves a small margin between the top. How can I remove this margin? I attach images     
asked by 28.03.2018 / 16:45
1
answer

I can not link UIButton with IBOutlet or IBActins do not work, Object Exit by default !!

When trying to insert a UIButton in a ViewController, the properties window of the object appears in the default Connection attribute "Action" and in Object "Exit" I created the function but it did not create the connection, besides I can not...
asked by 23.02.2018 / 10:28
1
answer

cordova-plugin-device you can get serial number for ios from a mobile app with ionic 1

Dear, I have not managed to capture the serial number of an ipad with the plugin cordova-plugin-device 2.0.1, Can it be captured? Greetings     
asked by 27.02.2018 / 14:49
1
answer

Possible Unhandled Promise Rejection Type Error Undefined is not an object

I have this code in my React Native project: static async validateSub(sub,pin) { sub_can_access = 'no' url = 'https://server.com/validator.php' let resp = await fetch(url + '?param1='+sub+'&param2='+pin); if (resp._bodyText...
asked by 03.04.2018 / 20:11
1
answer

Parameter step with Target - Action

I have a button to which I have added a Target so that when it is clicked I call a function. I need to pass through the target an extra parameter that is not the button but I throw error when trying to compile If I just pass the button it let...
asked by 09.02.2018 / 13:57
1
answer

CollectionView cell with Highlight

I have a collectionView with several cells, when I click one I need it to look like it has been pressed with a color or animation. For this I use: (void) collectionView: (UICollectionView *) collectionView didHighlightItemAtIndexPath: (NS...
asked by 17.01.2018 / 09:32
1
answer

Whitelist Compatibilities

I have an android app that already runs without problem. We are now moving its development to iOS. Emphasize that it is hybridized with cordova. I'm looking at plugin compatibility, and it's cracking me with the cordova-plugin-whitelist...
asked by 10.11.2017 / 10:32
1
answer

Play .opus files in Swift 3-4

Good, my question is how I could play an .opus file from my application in swift, the file is remote on a server and I would have to take that file and play it in the application, how could I do it? since I've tried it in every way and there's n...
asked by 24.10.2017 / 13:22