How to trigger a video when a user reaches a certain location?

前端 未结 3 1841
余生分开走
余生分开走 2021-01-14 08:56

This is my CoreLocationController.h objective c class

#import 
#import 
#import 

        
3条回答
  •  感动是毒
    2021-01-14 09:45

    Perhaps something is wrong with setting the delegate? I usually specify the delegate in the .h file like this:

    id  delegate;
    

    and

    @property (nonatomic, assign) id  delegate;
    

    EDIT

    Also, did you check that -mapView:didUpdateUserLocation: is being called?

提交回复
热议问题