Artyom Vlasenko

2

votes
0

answer
9

views

Update Facebook SDK issue

I use Facebook SDK login feature. In console written 'Your Facebook SDK is out of date. We recommend upgrading to the latest Version 4.37.0, to ensure your app's performance is not affected and to take advantage of our newest features!' I updated SDK pods to 4.4.1, but this warning still there. Any...
Artyom Vlasenko
1

votes
1

answer
176

views

Render image in mtlView with Metal Api

help me figure out the metal api, I want to render the normal picture via mtlView, but it does not work for me, here's my code, what am I doing wrong? Next, I would like to use the UISlider and CIColorControls to change the contrast of this picture in 60fps, please explain. import MetalKit class Vie...
Artyom Vlasenko
1

votes
1

answer
44

views

I want to retrieve the next time the notification is triggered

I use the in local notation repeatInterval, Is it possible to retrieve what time the repeatInterval will work again? I need this to update the counter 'how much is left before triggering the notification'.
Artyom Vlasenko
2

votes
1

answer
46

views

When adding a filter, the photo is stretched

When adding a filter, the photo is stretched and does not respond to the aspectFit let photoProcess = CIFilter(name: 'CIPhotoEffectProcess') let image = UIImage(named: 'tetka') let ciImage = CIImage(image: image!) let test = photoProcess?.outputImage let img = UIImage(ciImage: test!) photoImageView....
Artyom Vlasenko
5

votes
4

answer
418

views

UIRefreshControl does not work correctly

The refresh wheel stops at 95% full, and the refresh will only work if from the very top of the screen you reach the bottom. lazy var refreshControl: UIRefreshControl = { let refreshControl = UIRefreshControl() refreshControl.addTarget(self, action: #selector(VFeedVC.refresh(_:)), for: .valueChanged...
Artyom Vlasenko