|
@@ -76,20 +76,20 @@ HJPageListViewDelegate
|
|
|
[self hj_setupNavBar];
|
|
[self hj_setupNavBar];
|
|
|
[self addSubviewsMakeConstraints];
|
|
[self addSubviewsMakeConstraints];
|
|
|
|
|
|
|
|
- //检查更新
|
|
|
|
|
|
|
+ //检查更新,
|
|
|
self.checkAPIManager.version = APP_VERSION;
|
|
self.checkAPIManager.version = APP_VERSION;
|
|
|
[self.checkAPIManager start];
|
|
[self.checkAPIManager start];
|
|
|
|
|
|
|
|
- // 调用banner图片URL
|
|
|
|
|
|
|
+ // 调用banner图片URL,
|
|
|
[self.getBannerAPIManager start];
|
|
[self.getBannerAPIManager start];
|
|
|
|
|
|
|
|
- //定位
|
|
|
|
|
|
|
+ //定位,
|
|
|
[self positioningCity];
|
|
[self positioningCity];
|
|
|
|
|
|
|
|
- //添加城市选择通知
|
|
|
|
|
|
|
+ //添加城市选择通知,
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(cityPickerViewSelectCity:) name:HJCityPickerCitySelectedNotification object:nil];
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(cityPickerViewSelectCity:) name:HJCityPickerCitySelectedNotification object:nil];
|
|
|
|
|
|
|
|
- //协议政策
|
|
|
|
|
|
|
+ //协议政策,
|
|
|
if (![[HJAppUserType sharedInstance].firstStart boolValue])
|
|
if (![[HJAppUserType sharedInstance].firstStart boolValue])
|
|
|
{
|
|
{
|
|
|
[self showAgreement];
|
|
[self showAgreement];
|