I'm using MDCActivityIndicator for iOS.
I can see the track behind the indicator with trackEnabled = true
But I don't know how to change the track color.
Do you know how to do?
I solved my problem.
I used MDCActivityIndicator as a cocoapods.
I pull out from cocoapods and add a source and fix it directly.
MCDActivityIndocator
Related
Is anyone know why UE4.26.2 ARkit for some devices will always keeps black?
I use the Default AR project to test it, for some device with project build from UE4.26.2, the Camera will keeps black, but it can actually detect& tracking the plane, just can't display.
Same project build from UE4.25 for same devices, all works good, is anyone know why this happened?
I'm going to check the source code about the Apple ARKit.
Any hint will be appreciated, thanks in advances!
I finally figure it out with the UE4.26.2 source engine, there are two steps:
Copy the ARkitCameraMaterial from UE4.25 to AppleARKit content folder
Inside "AppleARKitVideoOVerlay.cpp", change the OverlayMaterialPath to the path that "ARKitCameraMaterial" located, then it works on my case
By the way, don't change & re-apply this material, cause there is a function depreciated by UE4.26, but this way takes some time cause need build the source engine, hope it can help you guys!
I have integrated MBProgressHUD. It was previously showing small indicator but in swift 4 update or pod update, it is now changed large indicator. They might have changed UIActivityIndicatorViewStyleWhiteLarge in new pods. So my question is that how can I initialise using UIActivityIndicatorViewStyleWhite. I can't see any method to change indicator style. You can check both screenshot after and before.
Any idea how to change?
Write an extension for MBProgessHUD. Then customise the properties that are needed.
The MBProgressHUD is in cocoapods. so you have to fork their code from github and make the changes that you want.
You can then use the forked code in your project. MBProgressHUD’s MIT license allows you to do so.
In order to get the smaller indicator use:
UIActivityIndicatorViewStyleWhite
That's it!
I have the IQKeyboardManager version 5.0.6. My view is like below.
If I clicked on a textview for the firsttime, it works fine. See below image
And then if I close the keyboard(by pressing done or return buttons) and click another textview, the textview isn't moving and the keyboarded covers the textview. see below image,
After that if I close the keyboard, my view is look like the below image,
This happens in my all the other similar views as well. But this happens only in IOS 11. I have tested this in a IOS 10 device and IQKeyboardManager worked perfectly.
I have asked about this issue in the IQKeyboardManager GitHub page also.
Here is the link for the issue. But I didn't got any answers.
If anyone knows any solution for this please help me.
The same issue occurred to me.
I updated the pod and it worked fine.
Use pod update IQKeyboardManager or if using swift remove IQKeyboardManager and instead try using IQKeyboardManagerSwift.
I have implemented the iPhone-AR toolkit app found in this link.
https://github.com/a1phanumeric/iPhone-AR-Toolkit
I want to re plot the radar points everytime device starts moving i.e. Everytime the current lat long values change, the existing set of values should change their position on the radar . But it does not move the points present on the radar. Can anyone tell me where I have to change to implement this?
You can try Calonso's ar-kit project which is similar to yours since they are both forked from same repository: https://github.com/calonso/ios-arkit
How do you remove an arrow from Google Maps geolocation marker (iOS)?
This is an arrow I'm talking about
If you really want to remove that arrow everywhere in your app from Google Maps SDK, it might be easiest to modify asset in GoogleMaps.framework.
Just navigate (cd) to GoogleMaps.framework/Versions/A/Resources/GoogleMaps.bundle/GMSCoreResources.bundle/ and notice the following files:
GMSSprites-0-1x.png
GMSSprites-0-2x.png
GMSSprites-0-3x.png
If you open these files, you can notice the arrow is there. So just edit directly in the asset by replacing arrow by nothing (transparent pixels).
Note: I haven't test it myself and this is not tested solution, but I believe it should work.
Disclaimer: I'm not sure, but I think this modification might violate Terms & Conditions for using the SDK. I don't get any responsibility for such modification, it's your call...
There is no way to do this with current version of the SDK (1.9.1), and actually there is an open issue with this request: Look here.
As a work around, you can hide the default button with:
_map.myLocationEnabled = NO;
Then create a custom GMSMarker
GMSMarker *pointMarker = [GMSMarker markerWithPosition:currentPosition];
pointMarker.icon = [UIImage imageNamed:#"YourImage"];
pointMarker.map = _map;
And change the position of it using a CLLocationManager, so it always show the current position. It's a bit tricky but is the only way, I could think, that you can achieve this. If you need a more complete example let me know.